Talk:Self-XSS

Latest comment: 2 years ago by Numirias in topic Scope wrong

How does this work? edit

The article says "Facebook now displays a warning message when users open the Web developer console...". I thought that the "Web developer console" was a part of the browser software, not something specific to any website. How can Facebook (or any other website) detect when you open it? 86.161.61.32 (talk) 13:08, 5 October 2014 (UTC)Reply

It doesn't need to know when you open it. It can just call the console.log function to make the warning appear in it, so that it will be there when you open it. Jackmcbarn (talk) 17:45, 5 October 2014 (UTC)Reply


Scope wrong edit

The article suggests the web console, but I think the term is used for XSS where the user is the only one affected by content which is returned only to them. Or where the user is complicit in some way in inserting the code.

An example would be by using a malicious helpful copy button that puts the payload into the copy and paste buffer. When the user then pastes that into a vulnerable field.

SimonWaters (talk) 08:38, 22 August 2018 (UTC)Reply

I second this. The most common use of the term is to describe DOM XSS that requires the victim to actively introduce the attack vector themself, e.g. by typing/pasting HTML in a text field. (Instances of this XSS sub type are often not considered an actual (exploitable) vulnerability due to an unrealistic level of social engineering needed for a successful attack.) --Numirias (talk) 02:10, 4 August 2021 (UTC)Reply