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.
- 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:
-
go to https://████?profile_id=%22%3E%3C/script%3E%3Cscript%3Ealert(%27xss%27)%3C/script%3E
-
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:
-
go to https://█████████?profile_id=%22%3E%3C/script%3E%3Cscript%3Ealert(%27xss%27)%3C/script%3E
-
you will able to see xss
Suggested Mitigation/Remediation Actions
validate user input don't allow execute special character in source code
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
- Open the crafted URL containing a script payload in the profile_id parameter.
- 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.