Skip to content
XSS Write-up Beginner

Tumblr Bug Bounty ( $200)

The report describes two separate issues: an email-based blog search that allowed an attacker to create a blog using a victim's domain and appear when searching for that email, and a theme asset uploader that accepted a JSON file containing HTML/JavaScript, which could be accessed with a double extension to execute script. The attacker could impersonate a blog or run script in the context of the uploaded asset.

Myo Min Thu Follow

Published on web.archive.org

Bounty$200 View original

{{media:0}}

Myo Min Thu, on web.archive.org

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the email search did not verify ownership of the email domain, and the uploader only checked the file extension rather than the content or final served type.

Impact

An attacker could impersonate a blog associated with a victim's email domain and execute script in the context of uploaded theme assets, potentially affecting users who search for the email or view the asset.

What the attacker needed

A Tumblr account; victim's email domain known; victim or other user searches the email

How it was found

  1. Create a Tumblr blog using the victim's domain as the blog name.
  2. Search for the victim's domain email on Tumblr to see the attacker's blog appear.
  3. Upload a JSON file containing HTML/JavaScript code to the theme assets uploader.
  4. Rename the file with a double extension (e.g., .json.html) and upload it.
  5. Navigate to the uploaded file's path to trigger the script.

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 write-up has not been written yet. The Original tab links to the source.

This report covers two bugs. The first is about a search feature that let someone make a blog look like it belonged to a victim's email domain, so people searching for that email would find the attacker's blog instead. The second is about a file upload that was supposed to block HTML but could be tricked by uploading a JSON file with HTML inside and then adding a second extension so the browser ran the code.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Myo Min Thu

View all

7 more disclosed reports, best first.

More from Automattic

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.