Skip to content
XSS Disclosed report Beginner CVE-2020-3580

reflected xss [CVE-2020-3580]

The application was reported to be vulnerable to reflected cross-site scripting, where a malicious script runs in a victim's browser when they click submit. An attacker could steal cookies, send requests as the victim, prompt malware downloads, or deface the site.

maskedpersian Follow

Originally disclosed on HackerOne

  • Triaged in 1 hour
  • Fixed in 5 days
  • Disclosed after 8 days

Hey Security Team 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. website: ███████ attached When the user clicks submit, his information will be stolen

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

payload attached

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by maskedpersian. 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 application reflects user-supplied input into a page without proper output encoding or sanitisation.

Impact

An attacker could steal cookies to gain access, send requests that appear to come from the victim, prompt the user to download malware, or deface the website.

What the attacker needed

Victim clicks submit

How it was found

  1. Open the attached website.
  2. Click submit with the attached payload.

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 a user typed or clicked and puts it into a page without cleaning it first, so an attacker can sneak in their own code. Here, the report says clicking submit runs the attacker's script in the victim's browser. That script could then read the victim's cookies (small files that keep them logged in) or act as the victim on the site.

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 maskedpersian

View all

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