Skip to content
XSS Write-up Beginner

Securing NASA For Certificate: P3 Vulnerability

A registration page on a NASA subdomain reflected user input in the username field without proper sanitisation, allowing cross-site scripting. An attacker could run script in a victim's browser in the context of that site.

manan_sanghvi Follow

Published on medium.com

This write-up is about how I discovered a P3 vulnerability in NASA (National Aeronautics and Space Administration). The finding was simple and straightforward, without requiring advanced logical exploitation or abuse of access control mechanisms.

Manan Sanghvi, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

What the attacker needed

A registration page with a username field; victim visits a crafted link or page

The fix

The report states the issue was fixed after being accepted.

How it was found

  1. Use search engine operators to find an old-looking NASA subdomain.
  2. Visit the registration page and note the many input fields.
  3. Run the dalfox scanner against the registration URL.
  4. Observe that the username parameter is vulnerable to XSS.

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 write-up has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website takes something a user typed and puts it back on the page without cleaning it, so a malicious script can run in another visitor's browser. Here the username field on a sign-up page was the weak spot, and an automated scanner found it quickly.

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 manan_sanghvi

View all

4 more disclosed reports, best first.

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.