Reflected XSS In https://███████
A reflected cross-site scripting vulnerability was found in the URI path parameter of an error page. An attacker could execute JavaScript in a victim's browser by crafting a link with a malicious SVG payload.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 7 days
- Disclosed after 7 days
Hi security team, According to my report #1092618, The VDP team agreed that ████ and it's subdomains is in the scope of the DoD program So I continue testing that domain
##Vulnerable Website URL: https://███████████████%3CSvg%20OnLoad=alert(1)%3E
##Description of Security Issue: Reflected XSS in path parameter (URI)
Impact
Executing Javascript on behalf of the victim
System Host(s)
███
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
1 - Visit https://███ 2 - Visit the error page /customerror 3 - Add the URI payload <Svg%20OnLoad=alert(1)> 4 - Final link https://██████████████████%3CSvg%20OnLoad=alert(1)%3E
Suggested Mitigation/Remediation Actions
Sanitize the URI Path parameter
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
An attacker could execute JavaScript on behalf of the victim.
What the attacker needed
Victim clicks a crafted link
The fix
The URI path parameter should be sanitised or encoded before being reflected in the error page.
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 a flaw where a website inserts user input into its pages without cleaning it, so an attacker can make the site run their own JavaScript. Here, the error page echoed the URL path back into the page, allowing a script to run when someone clicked a crafted link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.