In-depth lesson · WebView flaws
Year by year: 2025
What the disclosed WebView flaws reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2025
8 pointsNew this year2
Reports increasingly involved JavaScript bridges exposed to loaded pages, with bypasses of bridge authentication and wildcard domain trust.
Seen in 1 report
Testing whether a WebView's same-origin policy could be bypassed to read internal app files from a loaded page appears as a distinct technique.
Kept working6
Enumerating exported activities and starting each with an intent carrying an attacker URL showed which ones passed it to an internal WebView.
Seen in 1 report
Passing data: and javascript: URLs as a URL extra to a navigation activity revealed that the scheme was not checked before the WebView loaded it.
Seen in 1 report
Crafting a deep link that opened a WebView at a controlled page containing a bypass string let hunters call the JavaScript bridge's native methods and hook the callback to capture responses.
Seen in 1 report
Testing whether the JavaScript bridge's authentication could be bypassed by loading an attacker page through a deep link and invoking native methods directly proved fruitful.
Seen in 1 report
Finding an exported activity that loaded a URL extra into a WebView with JavaScript enabled and universal access from file URLs, then launching it with a local HTML file, allowed reading private app files.
Seen in 1 report
Checking whether an app validated a user-supplied URL before loading it in a WebView, and whether attacker content then ran script in that WebView's context, exposed script execution.