Stored XSS via ' profile ' at ███
A user profile field was not properly sanitised, so a stored script payload entered by one user executed in another user's browser when they viewed that profile. An attacker could run malicious JavaScript in a victim's session by getting them to open the attacker's profile.
- Disclosed after 3 months
Summary by the program
A Cross-Site Scripting (XSS) vulnerability was present in the ██████' field on the user profile page. The vulnerability arises from the improper sanitization of user input, allowing attackers to inject malicious scripts that execute within the victim's browser context when the profile is viewed.
The report
hi team i found stored xss on profile
- Go to registration page (██████)
- Verified your account.
- Go to login page and login your account.
For the fastly test, use this credentials to login (my test account)
█████████ For Attacker
email: █████████ pass: Password ████ For Victime
email: █████████ pass: password
After login i change animal name to payload xss .. i open victime account and i put attacker profile url so i succeeded.
██████████
Impact
Stored Cross Site Scripting which attacker can execute malicious javascript payload.
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 field was saved and rendered without sanitising or encoding the user input, so markup was treated as code.
Impact
A stored script could run in a victim's browser when they viewed the attacker's profile.
What the attacker needed
A free account; victim views attacker's profile
How it was found
- Register a new account and verify it.
- Log in with the account.
- Change the animal name field on the profile to a script payload.
- Log in as the victim and open the attacker's profile URL to trigger the script.
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.
A profile page lets you save text, such as an animal name, that other people see. The site saved that text without cleaning it, so someone could save a small script instead of plain text. When another person opened that profile, their browser ran the script as if the site itself had sent it, which is called stored cross-site scripting.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.