[RESOLVED] XSS filter problems on various sites?

Bug reports and enhancement requests
Post Reply
Lizard
Posts: 4
Joined: Mon Jul 03, 2017 7:07 pm

[RESOLVED] XSS filter problems on various sites?

Post by Lizard »

With the last few development builds I've noticed an increase of XSS warnings.
These are reproducible with 5.0.6RC6:

http://www.ad.nl/buitenland/taxi-rijdt- ... ~a4a4daee/
https://www.consoleshop.nl/product/7853 ... -snes.html

Also I've noticed I need to reload a page when I load a page on my local lan, even if I've allowed the page.

See the linked screenshot:
Image
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: XSS filter problems on various sites?

Post by barbaz »

Lizard wrote:Also I've noticed I need to reload a page when I load a page on my local lan, even if I've allowed the page.
Try manually whitelisting the full address with the port -

Code: Select all

http://diskstation:5000
*Always* check the changelogs BEFORE updating that important software!
-
Lizard
Posts: 4
Joined: Mon Jul 03, 2017 7:07 pm

Re: XSS filter problems on various sites?

Post by Lizard »

barbaz wrote:
Lizard wrote:Also I've noticed I need to reload a page when I load a page on my local lan, even if I've allowed the page.
Try manually whitelisting the full address with the port -

Code: Select all

http://diskstation:5000
Thanks, that seems to work. still strange it also works without the port number after a reload.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: XSS filter problems on various sites?

Post by barbaz »

You're welcome.

Regarding the XSS warnings:
When this issue occurs, do you see anything related in the Browser Console? (Ctrl-Shift-J)
(if you don't know what's related, turn off CSS warnings and post everything else you see)
*Always* check the changelogs BEFORE updating that important software!
-
Archaeopteryx
Posts: 16
Joined: Wed Aug 04, 2010 9:04 am

Re: XSS filter problems on various sites?

Post by Archaeopteryx »

This seems to hit e.g. downloads on github.com quite often. A download of mozregression-gui.exe triggers the XSS protection while Git-2.13.2-64-bit.exe doesn't. Nothing obvious in the console of the browser toolbox.
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: XSS filter problems on various sites?

Post by barbaz »

@Archaeopteryx: that might be viewtopic.php?f=10&t=22884
*Always* check the changelogs BEFORE updating that important software!
-
Lizard
Posts: 4
Joined: Mon Jul 03, 2017 7:07 pm

Re: XSS filter problems on various sites?

Post by Lizard »

Here are some logs:
http://www.pcgamer.com/half-life-a-plac ... ease-date/
[NoScript XSS] Sanitized suspicious upload to [https://www.facebook.com/tr/###DATA###SyntaxError: invalid range in character class] from [http://www.pcgamer.com/half-life-a-plac ... _pcgamerfb]: transformed into a download-only GET request.
http://www.ad.nl/buitenland/taxi-rijdt- ... ~a4a4daee/
[NoScript XSS] Sanitized suspicious upload to [https://www.facebook.com/tr/###DATA###SyntaxError: invalid range in character class] from [http://www.ad.nl/buitenland/taxi-rijdt- ... ~a4a4daee/]: transformed into a download-only GET request.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: XSS filter problems on various sites?

Post by barbaz »

Does Marking facebook.net as Untrusted make any difference?
*Always* check the changelogs BEFORE updating that important software!
-
Lizard
Posts: 4
Joined: Mon Jul 03, 2017 7:07 pm

Re: XSS filter problems on various sites?

Post by Lizard »

That seems to remove the xss warnings, thnx
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Post Reply