Skip to content
XSS Disclosed report Beginner

Stored XSS in NASA ASRS Maintenance Form – Payload Executes on Print Page

A stored cross-site scripting vulnerability was found in the NASA ASRS Maintenance Form, where user input fields allowed injection of JavaScript that later executed on the Print Page interface. An attacker could inject without authentication, and the payload would run for any user viewing the printed report, potentially leading to session theft or data exfiltration.

RootVaibhav Follow

Originally disclosed on Bugcrowd

Informational View original
  • Accepted in 4 hours
  • Disclosed after 15 days

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

XSS no longer field injectable.

Summary by RootVaibhav

A stored Cross-Site Scripting (XSS) vulnerability was discovered in the NASA ASRS Maintenance Form hosted on *nasa.gov. The vulnerability allows an attacker to inject arbitrary JavaScript via several input fields which is later executed in the “Print Page” interface—a shared resource meant for report visualization.

Unlike typical “self” XSS, this payload persists and executes for any user accessing the printed report, including analysts or internal reviewers, leading to cross-user impact. No authentication is required to inject or trigger the payload, which increases the attack surface.

Technical Impact Persistent execution of JavaScript in a trusted .nasa.gov subdomain

Exfiltration of sensitive metadata and potential analyst impersonation

Browser-based session theft or phishing via spoofed UI

Risk of further compromise if chained with internal tools

Business Impact Compromised trust in NASA’s aviation safety reporting infrastructure

Reputational damage from lack of proper input sanitization

Exposure of internal users or processes to malicious actors

The issue highlights the importance of strict sanitization and contextual output encoding in user-facing systems, especially those under .gov domains.

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 failed to sanitise user input and did not apply contextual output encoding when rendering the stored data on the Print Page.

Impact

The stored payload could execute for any user accessing the printed report, including analysts, enabling session theft, data exfiltration, or phishing via spoofed UI, though the text does not confirm actual exploitation.

What the attacker needed

No authentication required; victim views the Print Page

The fix

The vulnerability was fixed, as the text states XSS is no longer field injectable.

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 stored cross-site scripting (XSS) bug. A website took text a user typed into a form and saved it without cleaning it, then showed that text on a different page without making it safe. When another person opened that page, their browser ran the hidden code as if it were part of the site, which could let an attacker steal information or pretend to be that person.

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 RootVaibhav

View all

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