Just 5 minutes to get my 2nd Stored XSS on edmodo.com
A stored cross-site scripting flaw let the author's injected script persist in a poll on a school page and then execute when the same content was viewed through a notification on the main domain. An attacker could run script in a victim's session on that domain.
Published on medium.com
My overall experience with edmodo is good. They give quick response + cool swag + lots of input fields to test.
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 poll content was stored without proper sanitisation and later rendered as HTML in the notification view on the main domain.
Impact
Script could run in a victim's session on the main domain, though the text gives no detail on what an attacker could then do.
What the attacker needed
An account able to create a school; victim views the notification
How it was found
- Create a school on the new subdomain.
- Post an XSS payload in a poll.
- Open your own profile, which redirects to the main domain.
- Click the notification shown there, which triggers the script.
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.
Cross-site scripting, or XSS, is when a site saves text a user typed and later shows it as code instead of plain text. Here the saved text was a script, so it ran in the browser of anyone who opened the notification. That lets an attacker act as the logged-in user.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.