Skip to content
XSS Disclosed report Beginner

DOM-Based XSS Vulnerability via Console Injection

The report claims a DOM-based XSS on scijinks.gov where unsafe DOM methods such as innerHTML process untrusted input without sanitisation. An attacker could inject and execute JavaScript through browser console manipulation, though no direct input field was abused.

0xZoro1337 Follow

Originally disclosed on Bugcrowd

Informational View original
  • Accepted in 5 hours
  • Disclosed after 2 months

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

Self Reflected XSS

Summary by 0xZoro1337

This report identifies a DOM-Based XSS vulnerability on https://scijinks.gov/ that allows attackers to inject and execute JavaScript through browser console manipulation. Although no direct input field was abused, the application uses unsafe DOM methods like innerHTML that process untrusted input without sanitization. This type of issue, while rated P5, highlights how even non-traditional vectors (like console access) can reflect weak handling of DOM content in client-side code.

This submission is informational, aimed at educating developers and researchers about the importance of securing all input channels—including those exposed via dev tools.

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

Impact

The report is rated P5 and is informational; it does not show a realistic attack path, because the only demonstrated input channel is the visitor's own browser console, which already allows arbitrary script execution.

What the attacker needed

Access to the browser console

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.

A web page can build its content using a method called innerHTML, which treats text as HTML code. If that text comes from an untrusted source, a script hidden inside it can run in the visitor's browser. This report says the site does that, but the only way shown to supply the text is the browser's own developer console, which a visitor already controls.

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 0xZoro1337

View all

1 more disclosed report, 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.