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.
ME
Medium
Account takeover
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.
ME
Medium
Business logic
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.
ME
Medium
XSS
$1,000
Medium's story editor allowed links with a javascript: scheme, leading to stored XSS. An attacker could use this to change a victim's email address and take over their account.
ME
Medium
Cache bugs
$100
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.
ME
Medium
XSS
$100
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.
ME
Medium
Access control
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.
ME
Medium
XSS
$100
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.
ME
Medium
Open redirect
The login flow accepted a redirect parameter that was not validated, so an attacker could craft a link that sent users to an attacker-controlled site after they clicked a social login button. This could be used to phish social media credentials.
ME
Medium
Subdomain takeover
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.
ME
Medium
Access control
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.
ME
Medium