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.
I found XSS vulnerability on one of Edmodo asset and it was found to be duplicate.
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
- Open the snapshot form-creation page and try the previously reported payload to confirm it is fixed.
- Observe that basic XSS payloads are stripped and do not execute.
- Submit an encoded payload inside an embed tag instead.
- 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.