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.
Originally disclosed on Bugcrowd
- 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.
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.