XSS alert on a Microsoft page - how to stop it please?

Ask for help about NoScript, no registration needed to post
ptoye

XSS alert on a Microsoft page - how to stop it please?

Post by ptoye »

In Visual Basic, selecting a language element and pressing F1 is meant to get you via the web browser (in my case Firefox) to the Microsoft page defining it. However, NoScript gives an XSS alert, and I have to hit "Unsafe Reload" each time to get to the page I want. I looked at the console, and this seems to be the relevant item:
[NoScript XSS] Sanitised suspicious request. Original URL [http://msdn.microsoft.com/query/dev10.q ... B)&rd=true] requested from [chrome://browser/content/browser.xul]. Sanitised URL: [http://msdn.microsoft.com/query/dev10.q ... 7871667985].
Possibly the sanitization isn't working correctly - it's not easy to tell as I don't know enough about it.

I could probably put something into the NoScript XSS filter, but as I'm not too hot on regular expressions, I don't know what to put into it.

Can some kind soul please help?
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 (.NET CLR 3.5.30729)
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: XSS alert on a Microsoft page - how to stop it please?

Post by dhouwn »

Working as excepted, with the round brackets it could be a JS function call.

The following exclusion pattern should do:
^http://msdn\.microsoft\.com/query/dev10\.query\?[^"<>\?]+$
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0
ptoye
Junior Member
Posts: 28
Joined: Fri Sep 02, 2011 3:06 pm

Re: XSS alert on a Microsoft page - how to stop it please?

Post by ptoye »

Thanks, that's put me on the right lines. It didn't work as you typed it, though. I chopped of the bit at the end so it now reads:

^http://msdn\.microsoft\.com/query/dev10\.query\?

and it works fine. I think that yours didn't match the complicated stuff in the middle of the URL.
Peter
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 (.NET CLR 3.5.30729)
Post Reply