Skip to content
XSS Write-up Beginner

How a Lazy Bug Bounty Hunter got a place on NASA HOF ( An XSS Story).

A search parameter on a NASA subdomain reflected user input into the page, and HTML tags such as headings and images were rendered while script tags were blocked. After running a large payload list, the hunter found a working cross-site scripting payload and reported it, though the text does not describe the payload or its effect.

trffnsec Follow

Published on medium.com

Hey Amazing Hackers, This is TrffnSec And today I’ll be talking about the first bug i found on a NASA ( VDP ) on bugcrowd.

TrffnSec, 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

Impact

An attacker could run script in a victim's browser on the NASA subdomain, though the text gives no detail on what that script could achieve and notes that plain script tags were blocked.

What the attacker needed

Target subdomain in scope; a search parameter that reflects input

How it was found

  1. Collect subdomains of the in-scope domains and check their HTTP status codes
  2. Open a subdomain that has a search bar and submit a plain word to see it reflected
  3. Submit HTML tags to see which markup is rendered and which is blocked
  4. Run a large payload list against the search parameters
  5. Review the tool output for successful hits and report the finding

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.

A search box on a website was putting whatever you typed back onto the page without cleaning it up. Normally that is harmless, but if the site also lets special formatting tags through, an attacker can craft a link that makes the page run their own code in a visitor's browser. That kind of flaw is called cross-site scripting, or XSS.

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 trffnsec

View all

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