Reflected cross-site scripting (XSS) found
The search functionality on a NASA partnerships site reflected partially sanitised input, allowing a crafted URL to run script in the victim's browser. Exploitation required the victim to open the link and then click the search field.
Originally disclosed on Bugcrowd
- Disclosed after 6 months
Summary by noneofyou0007
The search functionality of the domain (https://partnerships.gsfc.nasa.gov) was vulnerable to XSS due to partially sanitized input, which could be exploited by a malicious actor. However, the complexity of the vulnerability ranged from medium to high because its execution depended on the victim's actions. The victim would need to click on the URL with the crafted payload first and then click on the search field to execute the XSS.
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 search parameter was only partially sanitised before being reflected into the page, so some script-capable input survived.
Impact
An attacker could run script in a victim's browser after the victim opened a crafted link and interacted with the search field, though the need for that extra click limited the attack.
What the attacker needed
Victim clicks a crafted link; victim then clicks the search field
How it was found
- Craft a URL containing a payload in the search parameter.
- Send the URL to a victim, who clicks it.
- The victim then clicks the search field, which executes the 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 report has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website puts user-supplied text into a page without cleaning it properly, so an attacker can make the page run their own JavaScript. Here the search box echoed the search term back into the page, and a crafted link could make that term contain code. The victim had to open the link and then click the search field for the code to run.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.