stored cross site scripting in https://████
The application was vulnerable to cross-site scripting via a crafted SVG payload in a parameter, executing script in a victim's browser. An attacker could steal cookies, make requests as the victim, prompt malware downloads, or deface the site.
Originally disclosed on HackerOne
- Triaged in under an hour
- Fixed in 29 days
- Disclosed after 5 months
It was observed that the application is vulnerable to cross-site scripting (XSS). XSS is a type of attack that involves running a malicious scripts on a victim’s browser. poc attached another parameter at #1636345 q_13794 payload: %22%27%3e%3csvg%2fonload%3dconfirm(666)%3e
Impact
Cookie Stealing - A malicious user can steal cookies and use them to gain access to the application. Arbitrary requests - An attacker can use XSS to send requests that appear to be from the victim to the web server. Malware download - XSS can prompt the user to download malware. Since the prompt looks like a legitimate request from the site, the user may be more likely to trust the request and actually install the malware. Defacement - attacker can deface the website usig javascript code.
System Host(s)
████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
video attached
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 application stored user input and later rendered it without proper output encoding or sanitisation, allowing an SVG element with an event handler to execute script.
Impact
An attacker could steal cookies, send requests as the victim, prompt malware downloads, or deface the website.
What the attacker needed
Victim views the affected page
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 displays user-supplied content without properly cleaning it, so an attacker can sneak in code that runs in other visitors' browsers. Here, a crafted value containing an SVG image with an event handler executed script, letting the attacker act as them.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.