I tried to make link to http://download.oracle.com/javase/6/doc ... ring%28%29 This link just has reference to anchor. Unfortunately NoScript blocks this link as it XSS-attack. I guess Java Official documentation is popular and it's very strange that I can't link to it at all.
This behavior has been introduced recently.
NoScripts forbirds to use link to static HTML as it XSS
NoScripts forbirds to use link to static HTML as it XSS
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Mandriva Linux/1.9.2.18-0.1mdv2010.2 (2010.2) Firefox/3.6.18
- Giorgio Maone
- Site Admin
- Posts: 9527
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: NoScripts forbirds to use link to static HTML as it XSS
No, it hasn't. http://download.oracle.com/javase/6/doc ... lone%28%29 works as expected.cy6erGn0m wrote:This behavior has been introduced recently.
toString() is blacklisted because, as JavaScript, it can be used to evaluate code dynamically under some circumstance.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Re: NoScripts forbirds to use link to static HTML as it XSS
I dont' know why, but it's blocked for me by default. Also, "toString()" is just a anchor name. I never heard somebody executes javascript from URL (HTTP URL, not javascript:) so it's strange that toString is blocked in such context.
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Mandriva Linux/1.9.2.18-0.1mdv2010.2 (2010.2) Firefox/3.6.18
- Giorgio Maone
- Site Admin
- Posts: 9527
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: NoScripts forbirds to use link to static HTML as it XSS
Do you mean "clone()" is blocked as well for you? Did you actually check my link?cy6erGn0m wrote:I dont' know why, but it's blocked for me by default.
You don't know how many sites carelessly output their URL (or part of) in any context, causing them to be interpreted as JavaScript.cy6erGn0m wrote: Also, "toString()" is just a anchor name. I never heard somebody executes javascript from URL (HTTP URL, not javascript:) so it's strange that toString is blocked in such context.
It's called "reflective XSS".
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Re: NoScripts forbirds to use link to static HTML as it XSS
No, with "clone" it works as expected. But why the only "toString" is blocked?
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Mandriva Linux/1.9.2.18-0.1mdv2010.2 (2010.2) Firefox/3.6.18