Discourse · Report #333507
Stored XSS in "post last edited" option
Validstatus
highseverity
$256bounty
19upvotes
9 Jul 2018disclosed
How it was found
- There are two users: Attacker and Victim.
- Attacker starts a private talk via private message with the Victim.
- Attacker send a message to Victim, then he edits it or deletes it.
- Victim sees the yellow pencil, symbol of the edit.
- Victim clicks on yellow pencil to see the edit and the XSS runs.
Other info: the XSS also runs on topic (video PoC #2). You can find my XSS message on this URL: https://try.discourse.org/t/recommended-reading-for-community-and-foss-enthusiasts/278 It is very dangerous because it can hit many users at the same time.
Impact
XSS can use to steal cookies, password or to run arbitrary code on victim's browser
The hacker selected the Cross-site Scripting (XSS) - Stored weakness. This vulnerability type requires contextual information from the hacker. They provided the following answers:
URL https://try.discourse.org/t/recommended-reading-for-community-and-foss-enthusiasts/278
Verified Yes