Skip to content
XSS Write-up Beginner

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.

zishanadthandar Follow

Published on medium.com

My overall experience with edmodo is good. They give quick response + cool swag + lots of input fields to test.

ZishanAdThandar, on medium.com

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

  1. Create a school on the new subdomain.
  2. Post an XSS payload in a poll.
  3. Open your own profile, which redirects to the main domain.
  4. 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.

More by zishanadthandar

View all

1 more disclosed report, best first.

More from Edmodo

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.