Skip to content

Write-ups

Medium

Every publicly disclosed report for Medium, what kind of bugs they were and what was paid.

disclosed reports
11
with a public bounty
4
median public bounty
$100
public bounties in all
$1,300

Disclosed reports

Newest first. Only what Medium chose to make public.

XSS

Medium Content spoofing and XSS

The jobs page on Medium's site took a job identifier from the URL and inserted it into a request to an external job API without validation, so an attacker could use path traversal to make the page display job content from any other company's account on that API. Because the page rendered that content as HTML, an attacker who controlled a posting on the API could inject script that ran on Medium's domain.

Medium

Account takeover

A possibility of Account Takeover in Medium

Medium's Twitter login relied on the Twitter username to identify the account, so an attacker could change their own Twitter username to match a victim's old username and log into the victim's Medium account. The attacker could take over any Medium account linked to Twitter if the victim had changed their Twitter username.

Medium

Business logic

How I lost my followers on Medium

The unfollowUser GraphQL mutation could be resent repeatedly to decrease the displayed follower and following counts on a profile, even without a real follow relationship. An attacker could manipulate the numbers shown on any profile, potentially to negative values, but real follower relationships were not affected.

Medium

Cache bugs $100

Cache Deception

Medium's caching rules cached any path that looked like a file, so a user could set their username to end with a file extension (e.g., 'yuval.png') and cause their profile page to be cached. An attacker could then retrieve the cached page to obtain CSRF tokens and information about profile viewers.

Medium

XSS $100

Persistent XSS (Unvalidated oEmbed) at Medium.com

Medium's oEmbed implementation allowed an attacker to inject a fake login page into a story by manipulating the oEmbed response via a man-in-the-middle attack. The injected content was sandboxed in an iframe, limiting impact to phishing and clickjacking.

Medium

Access control

Abusing new Claps feature in Medium

The claps feature on Medium enforced restrictions only in the browser, so a user could send a crafted request to clap for their own story and to see how many claps each user gave. An attacker could therefore bypass the intended limits and view clap counts that were meant to be private to the author.

Medium

XSS $100

Medium Full Account Takeover By One Click

A stored XSS in Medium's story headline allowed an attacker to execute JavaScript in the context of a victim's session. By using a DOM-based payload that read the page's XSRF token, the attacker could change the victim's email address without password confirmation, leading to full account takeover.

Medium

Subdomain takeover

Taking over the Medium subdomain using Medium

A Medium subdomain had a dangling DNS record pointing to Medium's blog hosting, allowing anyone with a Medium account to claim it by adding the domain to their own blog. An attacker could take over the subdomain and serve their own content under Medium's domain.

Medium

Access control

Exploiting Activity in medium android app

An exported Android activity in the Medium app accepted a URL from an intent extra and saved it to the user's saved articles list without validation. A malicious app on the same device could launch this activity to add an attacker-controlled article to the victim's saved list.

Medium