Skip to content
XSS Disclosed report Beginner

Reflected XSS via URL Path in /archive/ Endpoint

The /archive/ endpoint reflected user-supplied content from the URL path into the page without sanitisation, allowing HTML injection. However, a strict Content Security Policy blocked JavaScript execution, so the XSS could not actually run.

pwntest Follow

Originally disclosed on Bugcrowd

  • Accepted in 3 days
  • Fixed in 10 days
  • Disclosed after 30 days

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

Resolved

Summary by pwntest

There was a Reflected Cross-Site Scripting (XSS) vulnerability on the following subdomain:

seabass.gsfc.nasa.gov

Any content appended after /archive/ was reflected back into the page without proper sanitization.

For example, visiting a URL like:

https://seabass.gsfc.nasa.gov/archive/<Img src=1 onerror=alert()>

would cause the injected HTML to appear on the page, leading to JavaScript execution. However, due to a strict CSP, JavaScript execution was blocked in the browser.

This happened because user input was directly reflected into the DOM without proper escaping or encoding on the client side.

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

User input from the URL path was reflected into the DOM without escaping or encoding on the client side.

Impact

An attacker could inject HTML into the page, but JavaScript execution was blocked by a strict CSP, so the XSS could not run.

What the attacker needed

Victim visits a crafted URL

How it was found

  1. Visit the /archive/ endpoint on the subdomain.
  2. Append HTML content after /archive/ in the URL.
  3. Observe the injected HTML reflected 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.

Cross-site scripting (XSS) is when a website takes input from a user and puts it into the page without cleaning it, so an attacker can make the page show their own code. Here the site put whatever came after /archive/ straight into the page, but a security rule called CSP stopped any JavaScript from running.

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.