[Resolved] XSS false positive?

Bug reports and enhancement requests
Post Reply
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

[Resolved] XSS false positive?

Post by barbaz »

Firefox 114.0.2
NoScript 11.4.23rc4
new profile

This DuckDuckGo search from the Firefox address bar or search bar

Code: Select all

St Ego - You’re Over Me (Larson (AR) Remix)
produces the following XSS warning -

Code: Select all


NoScript detected a potential Cross-Site Scripting attack

from [...] to https://duckduckgo.com.

Suspicious data:

(URL) https://duckduckgo.com/?t=ffab&q=St+Ego+-+You’re+Over+Me+(Larson+(AR)+Remix)
Not seeing what looks like XSS here, but apparently it's something about the apostrophe that got mangled? Deleting that and typing a new apostrophe in its place no longer results in the XSS warning.
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: XSS false positive?

Post by barbaz »

Console messages -

Code: Select all

[NoScript] [InjectionChecker]  
St+Ego+-+Youâ??re+Over+Me+(Larson+(AR)+Remix) /**/
DUMMY_EXPR
 has been flagged as dangerous JS ((Larson+(AR)+Remix) /**/
DUMMY_EXPR
))
[NoScript] [InjectionChecker]  JavaScript Injection in ///?t=ffab&q=St+Ego+-+Youâ??re+Over+Me+(Larson+(AR)+Remix)
function anonymous(
) {
St+Ego+-+Youâ??re+Over+Me+(Larson+(AR)+Remix) /* COMMENT_TERMINATOR */
DUMMY_EXPR
}
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
barbaz
Senior Member
Posts: 10847
Joined: Sat Aug 03, 2013 5:45 pm

Re: XSS false positive?

Post by barbaz »

No longer occurring in NoScript 11.4.26rc2 🎉
*Always* check the changelogs BEFORE updating that important software!
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/114.0
Post Reply