GHSL-2026-103: Local apps can hijack Wikipedia Android WebViews and steal session cookies - CVE-2026-65994
The Wikipedia Android app's exported PageActivity accepted intents from any app and, via a donation thank-you code path, loaded an attacker-controlled URL in an internal WebView with JavaScript enabled and a cookie-proxying client. A local malicious app could therefore show phishing content and use the WebView to read authenticated Wikipedia API data and leak session cookies to an attacker server.
The Wikimedia Android app (apps-android-wikipedia) allowed an explicit intent to the exported PageActivity, allowing an attacker to load arbitrary webpages. Using a local application, an attacker can load a malicious webpage that steals session cookies and leaks personal information.
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
Likely the exported PageActivity passed an attacker-controlled URI to an internal WebView without validating the domain, and the WebView client then attached stored cookies and a wildcard CORS header to requests for that URI.
What the attacker needed
Malicious app installed on the same device; victim is logged in to Wikipedia in the app
How it was found
- A malicious app sends an explicit ACTION_VIEW intent to the exported PageActivity with a crafted URL.
- The URL's host is split so its first label matches a non-language subdomain entry, here 'thankyou'.
- The donation thank-you checks pass because the language is 'thankyou', an order_id parameter is present, and wmf_campaign equals 'Android'.
- The full attacker URI is passed to SingleWebViewActivity, which enables JavaScript and loads it in a WebView.
- The WebView's OkHttp client attaches stored cookies to the request and adds a wildcard CORS header to responses.
- Attacker JavaScript reads authenticated Wikipedia API responses and sends the data, including cookies, to the attacker server.
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.
Android apps can expose screens (activities) so other apps can open them. Here the Wikipedia app exposed a screen that would load any web address it was given, inside the app itself. Because that screen also attached the user's Wikipedia login cookies to requests, a malicious app on the same phone could trick the Wikipedia app into sending those cookies to the attacker and reading private account data.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.