Skip to content
XSS Write-up Intermediate

Edmodo Bug Bounty Writeup

A cross-site scripting flaw existed on a form-creation page, and the initial fix stripped basic payloads. The researcher bypassed the filter with an encoded payload in an embed tag, which executed in Firefox.

Pethuraj Follow

Published on pethuraj.com

I found XSS vulnerability on one of Edmodo asset and it was found to be duplicate.

admin, on pethuraj.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 input filter only stripped plain-text script patterns and did not decode or block encoded payloads inside embed tags.

Impact

An attacker could run script in a victim's browser on the site, though the payload only worked in Firefox.

What the attacker needed

Victim uses Firefox; victim views crafted form input

How it was found

  1. Open the snapshot form-creation page and try the previously reported payload to confirm it is fixed.
  2. Observe that basic XSS payloads are stripped and do not execute.
  3. Submit an encoded payload inside an embed tag instead.
  4. See the payload execute and trigger a popup in Firefox.

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 (XSS) lets an attacker run their own JavaScript in another user's browser on a trusted site. Here the site tried to block obvious scripts, but an encoded payload hidden in an embed tag slipped past the filter and ran in Firefox.

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 Pethuraj

View all

7 more disclosed reports, 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.