Skip to content

HackerOne

Khan Academy

Every publicly disclosed report for Khan Academy and what kind of bugs they were.

disclosed reports
68
most reported class
XSS
bug classes found
12
first disclosure
2014
Scope, rewards and live status on bugbounty.fyi Accepting reports Disclosure program, no bounty 3 targets in scope Scope changed 1 week ago

Disclosed reports

Newest first. Only what Khan Academy chose to make public.

Open redirect

1-Click Account Takeover via Open Redirect through Regex Bypass in Domain Validation

An unescaped dot in a regular expression used to validate redirect URLs allowed an attacker to register a domain that passed the check, causing the victim's one-time transfer auth token to be sent to the attacker's server. The attacker could then replay this token on a legitimate Khan Academy domain to obtain a full session as the victim.

Khan Academy

Critical
Info disclosure

337k users and 1 employee leaked credentials

A third-party website was found listing a large number of Khan Academy account credentials, including what appeared to be a valid employee login. An attacker with access to that list could try the credentials against the login page and take over accounts.

Khan Academy

High
Leaked secrets

Leaked reused password for a few Khan Academy users

The reporter claims that credentials for Khan Academy users are being traded through a Telegram bot, which returns email and password pairs for the login domain. If genuine, an attacker could use the exposed pairs to sign in to accounts, especially where users reuse passwords.

Khan Academy

High
XSS

XSS on using the legacy "Graphie To Png" API

The legacy Graphie-to-PNG API accepted uploaded SVG and JSON data and served the result from a shared CDN path keyed only by a hash of the JavaScript. An attacker could overwrite an existing graphie with a malicious SVG containing an onload handler and JSON labels that inject script, giving cross-site scripting on any page that renders graphies.

Khan Academy

Critical
Business logic

Client Side string length check

The class rename feature only checked the name length in the browser, not on the server, so an attacker could save a name of over 108,000 characters instead of the expected 50. This could break page templates, crash pages for low-memory visitors, and cause unexpected behaviour.

Khan Academy

Medium
Subdomain takeover

S3 bucket takeover [learn2.khanacademy.org]

A subdomain pointed to Amazon S3 but the corresponding bucket was unclaimed, allowing anyone to register it and serve arbitrary content. An attacker could host phishing pages or steal cookies under the trusted domain.

Khan Academy

High
XSS

xss due to incorrect handling of postmessages

The autolink function in a Khan Academy JavaScript bundle builds anchor tags by concatenating unescaped text into the href attribute, so a crafted postMessage containing a quote can inject extra HTML attributes. Because the message event handler also fails to check the sender's origin, any website can send such a message and trigger script execution in the victim's Khan Academy session.

Khan Academy

Critical
Misconfiguration

EMAIL SPOOFING

The domain khanacademy.org lacks a DMARC policy that rejects or quarantines unauthenticated email, so an attacker can send messages with a forged sender address from that domain. This could be used for phishing to steal user data or fake payments.

Khan Academy

Medium
Access control

Access to alerta.khanacademy.org leak sensitive data

The signup and login forms on alerta.khanacademy.org were hidden with a client-side CSS class, so removing it in the browser revealed them. An attacker could then create an account without email confirmation and access the alert dashboard.

Khan Academy

Critical
Access control

Enumerate all the class codes via google dorking

Class join links were indexed by search engines, so anyone could find them and join classes without an invitation. An attacker could enumerate classes and join them, potentially causing disruption.

Khan Academy

High
Open redirect

Bypass the fix of report #1078283 due to poor validation

The URL validation on the 'continue' parameter only checked for the presence of 'khanacademy.org' without proper boundary checking, allowing an attacker to use a domain like 'khanacademy.orghacker.com.br' to redirect victims to a controlled site. This enables phishing attacks and potential chaining with other vulnerabilities.

Khan Academy

High
UI spoofing

Khan Academy ClickJacking to Steal Users's Credintials

The login page for alerta.khanacademy.org displayed an error message containing sensitive user information such as email, access token and client ID when a normal user tried to sign in with Google. An attacker could use clickjacking to trick a logged-in victim into revealing these credentials.

Khan Academy

Business logic

Login page vulnerable to bruteforce attacks via rate limiting bypass

The login endpoint applied rate limiting per email identifier, but the limit was not carried over when a different email was used, and appending whitespace or newline characters to the identifier bypassed the limit entirely. An attacker could therefore keep guessing passwords against an account without being locked out, potentially leading to account takeover.

Khan Academy

Low
Access control

Unauthorised Account Detail Modification

The report claims that an attacker can modify account details such as nickname and date of birth by intercepting and altering a save request, even though the browser interface does not allow these changes. The attacker could potentially access sensitive data like parent emails and accounts, and commit identity theft.

Khan Academy

High
Account takeover

Information can be changed without a password

An attacker with access to a logged-in session can add a new email address to the account without re-authentication, then use the password reset flow to take over the account. This allows full account takeover and locking the original user out.

Khan Academy

High
Open redirect

RTL override char allowed at khanacademy redirect page

The Khan Academy link redirector page did not filter the right-to-left override character in the URL parameter, allowing an attacker to make a malicious executable appear as a harmless image file. An attacker could also use malformed URLs to spoof the domain shown in the link.

Khan Academy

Low
XSS

https://mathfacts.khanacademy.org/ includes code from unprivileged localhost port

The Khan Academy math facts page included a script tag pointing at a localhost development server on an unprivileged port. On a shared computer, another local user could run a service on that port and serve arbitrary JavaScript that would run in the context of the Khan Academy page for other users.

Khan Academy

Medium
CSRF

Take over of accounts created using Google or Facebook

Accounts created via Google or Facebook without a password could have a password set by an attacker through a CSRF flaw on the password-setting endpoint. An attacker could then log in to the victim's account using the password they set.

Khan Academy

Critical
CSRF

Account takeover by changing email

The email-change endpoint for unconfirmed accounts lacked CSRF protection, so an attacker could trick a new user into submitting a request that changed the account's email to the attacker's address. The attacker could then take over the unconfirmed account via password reset.

Khan Academy

Critical