reflected xss @ www.█████████
A reflected cross-site scripting vulnerability exists on a web page because user input is not properly sanitised. An attacker could inject a script that executes in a victim's browser.
- Triaged in 5 days
- Fixed in 23 months
- Disclosed after 3.9 years
Summary: https://www.██████████/█████████is vulnerable to cross site scripting attacks.
PoC
Sending the following POST request to /█████ triggers the xss:
%3d=%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3dTOP_OF_RECORD%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d%3d&ATprogram=1&E=&fullname=nbfgkjaa'%22()%26%25<geeknik><ScRiPt%20>prompt(/XSS/)</ScRiPt>&glomf=1&glorf=1&numusers=xmkucffw&org=1&other=1&phone=555-666-0606&recType%21=-██████-&source=1&sponsorglomf=1&sponsorname=xmkucffw&sponsorphone=555-666-0606
This is reflected in the page source:
A request has successfully been entered for nbfgkjaa'"()&%<geeknik><ScRiPt >prompt(/XSS/)</ScRiPt>.</h3><h3>A confirmation email will shortly be sent to 1.</h3>
Suggested Mitigation/Remediation Actions This script should filter metacharacters from user input.
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 reflects user-supplied input into the HTML response without encoding or filtering metacharacters.
Impact
An attacker could inject a script that executes in a victim's browser.
What the attacker needed
Victim visits a crafted page or link
How it was found
- Send a POST request to the vulnerable endpoint with a script payload in the fullname parameter.
- Observe that the payload is reflected unescaped in the page source.
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.
XSS is when a website shows user input without cleaning it, so an attacker can sneak in a script. Here, input was reflected back into the page without filtering.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.