Skip to content
XSS Write-up Intermediate

5 Different Vulnerabilities in Google’s Threadit

The report describes five vulnerabilities in Google's Threadit: a DOM XSS via a javascript: URL in a link combined with clickjacking, an access control flaw allowing removal of the post owner from the ACL, a clickjacking attack to delete a user's account, an information disclosure of the viewer list on public posts, and another information disclosure of a logged-in user's email via an iframe. An attacker could execute JavaScript, remove owners, delete accounts, and harvest email addresses.

Thomas Orlita Follow

Published on websecblog.com

Threadit was an online tool that allowed users to record and share short video recordings. It was built by Area 120, Google's in-house program for experimental projects.

Thomas Orlita, on websecblog.com

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 multiple root causes: missing URL scheme validation, missing server-side authorization checks, missing clickjacking protection, and excessive data exposure in API responses.

Impact

An attacker could execute arbitrary JavaScript in the victim's browser (leading to account compromise), remove the owner from any post, delete a victim's account via clickjacking, and obtain email addresses of viewers and logged-in users; the XSS required CTRL-click and clickjacking required user interaction, and the iframe-based email harvesting was later mitigated by X-Frame-Options.

What the attacker needed

Victim clicks a link while holding CTRL; victim visits attacker's site; victim is logged in to Threadit; attacker can view the public post

The fix

The XSS was fixed by validating that links start with http:// or https://, clickjacking was mitigated by adding X-Frame-Options: DENY, the ACL issue was fixed by preventing owner role updates, and the viewer list issue was closed as Won't Fix but later X-Frame-Options was added.

How it was found

  1. Create a blank Threadit post and add a link with a valid URL.
  2. Intercept the PATCH request and replace the url field with a javascript: URI.
  3. Publish the post and open it; the link points to the JavaScript URI.
  4. Click the link while holding CTRL to execute the JavaScript in the current tab.
  5. Embed the post in an iframe on an attacker site and use CSS to position it under the mouse.
  6. Overlay a decoy button prompting the user to CTRL-click, causing the JavaScript to execute.

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 several security holes in a video-sharing tool. One lets an attacker run malicious code in a victim's browser by tricking them into clicking a link, another lets a viewer remove the owner's access, and others leak private information like email addresses. These are common web vulnerabilities that can have serious consequences.

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 Thomas Orlita

View all

7 more disclosed reports, best first.

More from Google

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.