Stored XSS via profile picture upload on Genius.com
Users could upload images to Genius with a spoofed MIME type, which allowed stored cross-site scripting. An attacker could run script in the context of the uploaded-images subdomain.
- Accepted in 2 days
- Fixed in 5 months
- Disclosed after 7 months
Summary by Genius
Users uploading images to Genius were able to use mime type masquerading to create XSS vulnerabilities. This has been resolved by applying a stricter sandbox to our uploaded images subdomain.
Summary by BrainR00T
Please disclose report c75eb61a-d1db-4ddb-b72e-15e25a9da836 (submitted 10 Aug 2025) regarding stored XSS in user profile on Genius.com — the issue has been resolved. Kindly publish the disclosure to CrowdStream.
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 upload handling trusted the client-supplied MIME type and served the file from a subdomain without a strict sandbox.
What the attacker needed
Ability to upload a profile picture
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 website let people upload pictures for their profile. It trusted the file's declared type instead of checking the actual content, so someone could upload a file that the browser treated as a script. That script then ran when the file was viewed, which is called 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.