GHSL-2026-101: Malicious deep links can steal Wikipedia Android session cookies - CVE-2026-65993
The Wikipedia Android app validated the host of wikipedia:// deep links with a suffix check, so any domain ending in wikipedia.org passed. An attacker could send a crafted link that made the app talk to their server and leak the victim's global login cookies, and also read authenticated Wikipedia data through a CORS misconfiguration.
The apps-android-wikipedia project in its latest version is vulnerable to improper host validation in the wikipedia:// deep link handler (GHSL-2026-101), potentially allowing attackers to exploit this flaw to steal session tokens and compromise user accounts.
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 report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The app used a string suffix check instead of an exact host or dot-boundary match, both for deep link validation and for matching stored cookies to a domain.
Impact
An attacker could steal global Wikimedia session cookies and impersonate the victim across projects, silently read authenticated data such as email and user groups, and show fake content inside the real app; the attack needs only one tap and no confirmation dialog.
What the attacker needed
Victim taps a crafted link; attacker controls a lookalike domain; victim is logged in to Wikipedia
The fix
The vulnerabilities were fixed by the maintainers, presumably by requiring an exact host or dot-boundary match and by not sending cookies to lookalike domains.
How it was found
- The attacker registers a domain whose name ends with wikipedia.org.
- The attacker hosts a page with a wikipedia:// link pointing at that domain.
- The victim taps the link, and Android opens the Wikipedia app with no dialog.
- The app rewrites the link to https and loads the attacker's page.
- The app's HTTP client sends the stored Wikipedia cookies to the attacker's server.
- Attacker JavaScript in the WebView reads authenticated Wikipedia API data and exfiltrates it.
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 report has not been written yet. The Original tab links to the source.
The app opens special wikipedia:// links, and it checked the website name by only looking at the end of the text. A name like evil-wikipedia.org ends with wikipedia.org, so the app trusted it. The app then sent the user's login cookies to that fake site, letting the attacker act as the user.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.