INFORMATIONAL #2
The report describes a self-XSS in the 'feed' parameter where a payload only executes if the user manually pastes it into their own browser console. No external attacker can exploit it, and the impact is informational.
medium.com
Published on medium.com
During my testing adventures, I stumbled upon a quirky little bug: a Reflected XSS that only triggers if you paste a payload into your own browser console. In other words, it’s a classic self-XSS — like pranking yourself rather than anyone else.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the 'feed' parameter reflects user input without sanitisation, but the payload only executes when manually entered in the console.
Impact
No external attacker can exploit this; there is no risk of session hijacking, data exfiltration, or malicious redirects.
What the attacker needed
Victim pastes payload into own console
The fix
The report recommends input validation and sanitisation, a strict Content Security Policy, and user education not to paste untrusted code into the console.
How it was found
- Open the browser console.
- Paste the payload into the console.
- Press Enter.
- A pop-up box displaying the number 8 appears.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Self-XSS means you trick yourself into running harmful code by pasting it into your browser's developer console. The website reflects input without cleaning it, but it does not run automatically, so an attacker cannot use it against you.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.