HexBrain

Rocket.Chat · Report #384517

XSS (stored) Wizard is saving executable code

Validstatus
mediumseverity
7upvotes
27 Sept 2018disclosed

How it was found

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.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original