Skip to content
XSS Disclosed report Beginner

Reflected XSS on https://█████

A reflected cross-site scripting flaw was found in a profile_id parameter, where a crafted URL caused script to execute in the page. An attacker could use this to steal user information from the trusted site.

ibring Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 11 days
  • Disclosed after 26 days

#Summary:

Reflected xss can use to steal user information because it is coming from trusted website. an user can easily trust it and attacker can easily steal user information

#Steps To Reproduce:

  1. go to https://████?profile_id=%22%3E%3C/script%3E%3Cscript%3Ealert(%27xss%27)%3C/script%3E

  2. you will able to see xss

#Supporting Material/References:

screenshot

Thank you @ibring Impact

Impact

attacker can steal user information via xss

System Host(s)

█████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

#Steps To Reproduce:

  1. go to https://█████████?profile_id=%22%3E%3C/script%3E%3Cscript%3Ealert(%27xss%27)%3C/script%3E

  2. you will able to see xss

Suggested Mitigation/Remediation Actions

validate user input don't allow execute special character in source code

The original report as published on HackerOne, by ibring. 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 profile_id parameter was reflected into the HTML response without output encoding, allowing injected markup to execute.

Impact

An attacker could steal user information via the reflected XSS, as the report claims.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Open the crafted URL containing a script payload in the profile_id parameter.
  2. Observe that the script executes in the 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 puts user-supplied text into a page without cleaning it, so a malicious link can make the browser run attacker code. Here the profile_id value in the URL was reflected into the page, and a script tag in that value ran. The report says this could let an attacker steal information from people who click the link.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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.