Skip to content
XSS Disclosed report Beginner

Reflected Cross-Site Scripting (XSS) on www.nasa.gov/search/search.jsp

The legacy nasaInclude parameter on the NASA search page reflects unsanitised input back to the user. An attacker could craft a link that runs script in the victim's browser, though the report notes the issue is self-induced and rated informational.

madhu873 Follow

Originally disclosed on Bugcrowd

Informational View original
  • Disclosed after 12 days

Summary by National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

This is a self induced XSS

Summary by madhu873

The legacy nasaInclude parameter in /search/search.jsp reflects unsanitized input. Payloads like <script>alert(document.domain)</script> are processed, showing how old endpoints can still accept unvalidated data. While rated informational, this serves as a good case study for input validation and safe deprecation practices.

The original report as published on Bugcrowd, by National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program. 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 legacy search page echoes the nasaInclude parameter into the HTML response without encoding or validating it.

Impact

An attacker could run script in a victim's browser via a crafted link, but the report rates the issue informational and describes it as self-induced.

What the attacker needed

Victim clicks a crafted link

The fix

The legacy endpoint should be retired or the parameter should be output-encoded and validated before it is reflected.

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.

A reflected cross-site scripting (XSS) bug happens when a website takes something from the address bar and puts it straight into the page without cleaning it. If that something is a script, the browser runs it as if the site itself had written it. Here the old search page did exactly that with a parameter called nasaInclude.

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 madhu873

View all

8 more disclosed reports, best first.

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.