XSS (stored) Wizard is saving executable code
A stored cross-site scripting flaw was reported, where user input was saved without correct filtering and later rendered in a victim's browser, allowing script execution to hijack sessions, deface pages or redirect users.
- Triaged in 12 days
- Fixed in 35 days
- Disclosed after 2 months
issue: xss(stored) Stored XSS occurs when a web application gathers input from a user which might be malicious, and then stores that input in a data store for later use. The stored input is not correctly filtered. As a consequence, the malicious data will appear to be part of the web site and run within the user’s browser under the privileges of the web application.
poc: url: https://imgsrcxonerrorprompt2.rocket.chat
Impact
Attackers can execute scripts in a victim’s browser to hijack user sessions, deface web sites, insert hostile content, redirect users, hijack the user’s browser using malware, etc.
Attachments



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
Impact
An attacker could execute scripts in a victim's browser to hijack sessions, deface the site, insert hostile content or redirect users.
What the attacker needed
Ability to submit input that is stored; victim views the stored content
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.
Stored cross-site scripting means a website saves something a user typed and later shows it to other people without cleaning it first. If that saved text contains instructions a browser treats as code, the browser runs them as if the site itself had written them. The attacker then acts with the victim's logged-in permissions.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.