Reflected XSS Vulnerability in NASA - sservi.nasa.gov
A reflected cross-site scripting flaw existed on a NASA subdomain because user input was reflected without encoding. An attacker could run JavaScript in a victim's browser, though the report says the impact was limited to self-XSS.
- Disclosed after 14 days
Summary by 0xNano
This report covers a reflected Cross-Site Scripting (XSS) vulnerability discovered on sservi.nasa.gov. The issue occurred due to unsanitized user input being reflected in the response without proper encoding, allowing JavaScript execution. A basic alert() payload was used to demonstrate the flaw. While the impact was limited to self-XSS, the report highlights the importance of input validation and output encoding to prevent similar vulnerabilities.
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 reflected user-supplied input into the HTML response without output encoding.
Impact
The report states the impact was limited to self-XSS, so an attacker could not easily run code in another user's browser.
What the attacker needed
Victim enters the crafted input themselves
The fix
The application should validate input and encode output so reflected text cannot execute as code.
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) happens when a website takes text from a user and puts it back on the page without cleaning it first. If that text contains code, the browser may run it as if the site itself had written it. Here the report says the problem only affected the person who typed the input, which is called self-XSS.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.