Reflected XSS at https://██████████/████████ via "███████" parameter
A search parameter on the site was reflected into the page without proper encoding, allowing an attacker to inject an event handler that runs script in the victim's browser. An attacker could execute JavaScript on behalf of a victim who follows a crafted link.
- Triaged in under an hour
- Fixed in 12 days
- Disclosed after 24 days
There is Reflected Cross site scripting issue at the following url:
https://████████/█████
Proof Of Concept
https://████/███?███=%22onfocus%3d%22alert(document.domain)%22autofocus%3d%22&submit=Search
███
Best Regards @pelegn
Impact
Cookies Exfiltration SOAP Bypass CORS Bypass Executing javascript on the victim behalf
System Host(s)
██████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Navigate to https://███████/████████?███████=%22onfocus%3d%22alert(document.domain)%22autofocus%3d%22&submit=Search
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 search parameter was inserted into an HTML attribute without encoding, so injected event-handler attributes executed.
Impact
An attacker could execute JavaScript in a victim's browser, potentially stealing cookies; the report also lists SOAP and CORS bypass as impacts.
What the attacker needed
Victim clicks a crafted link
How it was found
- Open the search URL with the crafted parameter value.
- The page reflects the value and the injected autofocus/onfocus handler fires, showing an alert with the document domain.
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.
The site reflected a search parameter into the page. By adding a special attribute to a link, an attacker can make the browser run their code when the page loads, acting as the logged-in user.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.