[█████████] 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.
- 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
- Open the following URL
https://████████/████████████href=%22j%0A%0Davascript:confirm(1)%22%20/%3E%3Ch1%3ECLICK%20ME%3C/h1%3E%3C/a%3E
-
Click the text written "CLICK ME" on the right side of the page
-
Get an alert box, confirming XSS.
Suggested Mitigation/Remediation Actions
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
- Open the crafted URL containing the injected parameter.
- Click the text written "CLICK ME" on the right side of the page.
- 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.