Html injection on khanacademy
The linkSuccess parameter on the account settings page allowed HTML injection when text was placed after the equals sign.
Originally disclosed on HackerOne
- Fixed in 55 days
- Disclosed after 4 months
There's an HTML Injection Vulnerability exists in khanacademy . Affected parameters "linkSuccess="
Steps to reproduce:
- first open your account on khanacademy.
2.enter the link in the url box. http://khanacademy.org/settings/account?linkSuccess= 3.set any text after "=" (eg. http://khanacademy.org/settings/account?linkSuccess=hello world) 4.hit enter . 5 you see......
i have attach a poc video in this report.
Attachments
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application reflected the linkSuccess parameter into the HTML response without encoding it.
What the attacker needed
An account on khanacademy
How it was found
- Open an account on khanacademy.
- Enter the settings account URL with the linkSuccess parameter in the browser.
- Set any text after the equals sign in the linkSuccess parameter.
- Press enter and observe the injected text on the page.
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 report has not been written yet. The Original tab links to the source.
When a website puts text from the address bar into the page without cleaning it, HTML can be injected. Here the linkSuccess value was shown on the settings page.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.