Stored XSS via Send crew invite
The crew invite endpoint failed to properly filter or escape unexpected characters in the invitation message body, allowing an attacker to inject a stored cross-site scripting payload. An attacker could modify the request in-flight to bypass filters and execute script in the context of users who viewed the invitation.
- Triaged in 6 hours
- Fixed in 3 months
- Paid in 3 days
- Disclosed after 3 months
Summary by the program
In this report, the researcher was able to demonstrate a vulnerability in our Crew Invite mechanism that could have allowed an attacker to carry out a Stored XSS attack. By modifying a request in-flight and injecting unexpected characters in the Invitation message body, it was possible to escape our filters and perform the attack. To fix this, we have updated our anti-XSS efforts site-wide, and additionally ensured that we are filtering and escaping control characters and other unexpected characters on this endpoint.
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 invitation message body was not correctly filtered or escaped for control and other unexpected characters, allowing stored script to be saved and later rendered.
Impact
An attacker could carry out a stored XSS attack through the crew invite mechanism, potentially running script in the browser of users who viewed the invitation.
What the attacker needed
Ability to send a crew invite; modify the request in-flight; victim views the invitation
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 (XSS) is when an attacker saves malicious code, such as JavaScript, into a website's data, and the site later shows that code to other people without making it safe. Here, the invitation message field let unexpected characters through, so the saved code could run in a victim's browser. The fix was to filter and escape those characters and improve anti-XSS protections across the site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.