Skip to content
XSS Disclosed report Beginner

XSS via Checkbox ( https://heasarc.gsfc.nasa.gov/cgi-bin/W3Browse/w3browse.pl )

User-controlled input is written directly to the page using client-side scripting without proper sanitisation, allowing injected HTML or JavaScript to execute in the browser when interacted with. The issue is self-reflected and requires user interaction, so it does not allow direct exploitation without social engineering.

Yonatan_Natanael_Tampi Follow

Originally disclosed on Bugcrowd

Informational View original
  • Disclosed after 8 months

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

This is a self reflected attack.

Summary by Yonatan_Natanael_Tampi

This report describes an informational Self-XSS issue in a legacy CGI-based web application. User-controlled input is written directly to the page using client-side scripting without proper sanitization, allowing injected HTML or JavaScript to execute in the browser when interacted with.

The issue requires user interaction and does not allow direct exploitation without social engineering. However, it highlights insecure DOM handling practices commonly found in older applications, such as the use of document.write() with untrusted input.

This case demonstrates the importance of proper input validation and output encoding to prevent client-side injection issues, even in legacy systems.

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 application uses document.write() to insert untrusted input into the page without sanitisation or output encoding.

Impact

The issue requires user interaction and does not allow direct exploitation without social engineering, so impact is limited to self-XSS.

What the attacker needed

Victim interacts with the page

The fix

The application should validate input and encode output to prevent client-side injection.

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.

This is a self-XSS issue: a script can run in the page because the site writes user input into the page without cleaning it first. However, the attacker cannot trigger it on their own; the victim must be tricked into interacting with the page, which makes it much less dangerous.

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 Yonatan_Natanael_Tampi

View all

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