Skip to content
XSS Disclosed report Beginner

Html injection on khanacademy

The linkSuccess parameter on the account settings page allowed HTML injection when text was placed after the equals sign.

manish_prajapat Follow

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:

  1. 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

The original report as published on HackerOne, by manish_prajapat. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open an account on khanacademy.
  2. Enter the settings account URL with the linkSuccess parameter in the browser.
  3. Set any text after the equals sign in the linkSuccess parameter.
  4. 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.

More by manish_prajapat

View all

1 more disclosed report, best first.

More from Khan Academy

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.