Skip to content
XSS Disclosed report Beginner

RXSS at `https://skyview.gsfc.nasa.gov/current/cgi/vo/sia.pl`

The FORMAT parameter of the NASA SkyView SIA endpoint does not sanitise user input, allowing an attacker to inject an SVG element with an onload handler. This lets arbitrary JavaScript run in the victim's browser when they visit a crafted link.

GxbNt Follow

Originally disclosed on Bugcrowd

  • Fixed in 6 days
  • Disclosed after 10 days

Summary by GxbNt

A reflected XSS vulnerability was identified in the NASA SkyView service at the following endpoint: https://skyview.gsfc.nasa.gov/current/cgi/vo/sia.pl The issue is present in the FORMAT parameter, which fails to properly sanitize user-supplied input. By injecting a crafted payload, arbitrary JavaScript can be executed in the context of the user's browser. An example of a malicious request is shown below: https://skyview.gsfc.nasa.gov/current/cgi/vo/sia.pl?survey=digitized&POS=99,10&SIZE=0.1&FORMAT=%22%3E%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20onload=%22alert(1)%22%3E%3C/svg%3E

The original report as published on Bugcrowd, by GxbNt. 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 FORMAT parameter is reflected into the HTML response without output encoding or validation.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser in the context of the NASA SkyView site, though the report does not describe any further consequences.

What the attacker needed

Victim clicks a crafted link

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.

Reflected cross-site scripting (XSS) happens when a website takes something from the address bar and puts it straight into the page without cleaning it. Here the FORMAT value is echoed back, so an attacker can include HTML that runs JavaScript. A victim who clicks the attacker's link runs that code as if it came from the NASA site.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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.