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