Skip to content
XSS Disclosed report Beginner

Chaining csrf+XSS

A stored cross-site scripting flaw existed on the domain, where malicious JavaScript could be injected via the URL and executed in a visitor's browser. An attacker could run their own code in the context of the site for any user who opened the crafted link.

nakul_mahajan Follow

Originally disclosed on Bugcrowd

  • Accepted in 36 hours
  • Fixed in 3 months
  • Disclosed after 3 months

Summary by nakul_mahajan

Stored Cross-Site Scripting (XSS) is a type of injection attack where malicious JavaScript is injected into a website. When a user visits the affected web page, the JavaScript executes within that user’s browser in the context of this domain. Stored XSS that is based inside the URL can be found on this domain which allows an attacker to control code that is executed within a user’s browser.

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

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 placed URL-derived input into a page without proper output encoding or sanitisation, so script could be stored and later executed.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser in the context of the affected domain, though the text gives no further detail on what that could achieve.

What the attacker needed

Victim opens a crafted link

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.

Cross-site scripting (XSS) is when a website takes input from a user, such as part of a web address, and puts it into the page without cleaning it first. That lets an attacker slip in their own JavaScript, the code that runs in a browser, so it runs as if the site itself had written it. Here the input came from the URL, so a crafted link could make the page run the attacker's code for whoever clicked it.

What is XSS?

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

More from National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

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.