Skip to content
XSS Disclosed report Beginner

Reflected XSS at ████ via ██████████= parameter

A parameter on an endpoint reflected user input without proper encoding, allowing an attacker to inject a script that runs in the victim's browser. The attacker could execute arbitrary JavaScript in the context of the vulnerable site.

Zhenwar Hawlery Follow

Originally disclosed on HackerOne

  • Triaged in 44 hours
  • Fixed in 2 months
  • Disclosed after 2 months

Hi I found that this endpoint is vulnerable with Reflected XSS, The ███= parameter is vulnerable with RXSS PoC:

██████████?████████=%253Cimg/src/onerror=alert(document.domain)%253E

Payload: <img/src/onerror=alert(document.domain)> Regards

Impact

RXSS

System Host(s)

www.███

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

██████████?█████=%253Cimg/src/onerror=alert(document.domain)%253E

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by zhenwarx. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 reflected the parameter value into the HTML response without encoding it, and the double-encoded input was decoded before being placed in the page.

What the attacker needed

Victim clicks a crafted link

The fix

The application should encode or sanitise the reflected parameter before including it in the HTML response.

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 you typed or clicked and puts it straight back into the page without cleaning it. An attacker can craft a link that contains a small script; when a victim opens it, the script runs as if the website itself had written it. This can let the attacker do things in the victim's name, such as read data or act on the 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 by Zhenwar Hawlery

View all

2 more disclosed reports, best first.

More from U.S. Dept Of Defense

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.