Skip to content
XSS Disclosed report Beginner

RXSS ON https://██████████

A reflected cross-site scripting flaw exists because the application echoes a URL parameter into the page without validating or encoding it. An attacker could send a crafted link that runs script in a victim's browser and access cookies or session tokens.

iam_a_jinchuriki Follow

Originally disclosed on HackerOne

  • Triaged in 3 hours
  • Fixed in 8 months
  • Disclosed after 8 months

Description: Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.

An attacker can use XSS to send a malicious script to an unsuspecting user. The end user’s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by the browser and used with that site

References

Impact

XSS can have huge implications for a web application and its users. User accounts can be hijacked, credentials could be stolen, sensitive data could be exfiltrated, and lastly, access to your client computers can be obtained

System Host(s)

████████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

1)Paste the payload and you will get a popup https://███/███=%3Cscript%3Ealert(document.domain)%3C/script%3E█████

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by iam_a_jinchuriki. 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 a URL parameter into the HTML response without output encoding or validation.

Impact

An attacker could hijack user accounts, steal credentials or sensitive data, and potentially gain access to client computers.

What the attacker needed

Victim clicks a crafted link

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 put in a link and shows it back on the page without cleaning it first. Here, a link contains a small script, and the site puts that script straight into the page, so the browser runs it as if the site itself had written it. That lets an attacker's code act with the victim's logged-in session.

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 iam_a_jinchuriki

View all

1 more disclosed report, 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.