Stored XSS in profile activity feed messages
A stored cross-site scripting flaw existed in the profile and crew feed endpoints because certain obscure characters were not converted to HTML entities. An attacker could insert and run their own JavaScript in those feeds.
Originally disclosed on HackerOne
- Triaged in 51 days
- Fixed in 3 months
- Paid in 2 months
- Disclosed after 3 months
Summary by the program
The researcher was able to demonstrate a Stored XSS vulnerability in the Profile and Crew Feed endpoints. The exploit string worked because the researcher realized that certain obscure characters were not being converted to HTML entities properly. The exploit string was †‡•<img src=a onerror=javascript:alert('hacked')>…‰€. This behavior allowed the researcher to insert and run his own JavaScript.
We were able to update our code to properly filter characters like the ones in the exploit string.
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 run their own JavaScript in the profile and crew feed pages.
What the attacker needed
Access to profile or crew feed endpoints
The fix
The code was updated to properly filter the characters used in the exploit string.
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 lets an attacker sneak their own JavaScript code into a page that other people view. Here, the site failed to neutralise some unusual characters, so a crafted message could run code in a victim's browser.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.