Skip to content
XSS Disclosed report Beginner

[█████████] Reflected Cross-Site Scripting Vulnerability

A reflected cross-site scripting flaw existed at a specific URL path, where a crafted link caused the page to render attacker-controlled markup. An attacker could trick a victim into clicking a link that executes script in the victim's browser session.

clsn Follow

Originally disclosed on HackerOne

  • Disclosed after 48 days

Description: A reflected cross-site vulnerability was found at ███████/██████.

References

Impact

XSS is a versatile attack vector which opens the door to a large number of social-engineering and client-side attacks

System Host(s)

██████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

  1. Open the following URL
https://████████/████████████href=%22j%0A%0Davascript:confirm(1)%22%20/%3E%3Ch1%3ECLICK%20ME%3C/h1%3E%3C/a%3E
  1. Click the text written "CLICK ME" on the right side of the page

  2. Get an alert box, confirming XSS.

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by clsn. 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 page reflected a URL parameter into HTML without proper encoding or validation, allowing injected markup and a script URL to be rendered.

Impact

An attacker could use a crafted link to run script in a victim's browser, enabling social-engineering and client-side attacks.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Open the crafted URL containing the injected parameter.
  2. Click the text written "CLICK ME" on the right side of the page.
  3. Observe the alert box confirming script execution.

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 when a website takes something from a link and puts it into the page without cleaning it first, so a malicious link can make the site run code in your browser. Here, a specially crafted link made the page show a clickable heading, and clicking it ran a simple script that popped up a confirmation box. That shows an attacker could run their own code in a victim's browser if the victim followed the link.

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 clsn

View all

3 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.