Tracking Without Borders: Studying the Role of WebViews in Bridging Mobile and Web Tracking
WebViews are a core component of today's in-app browsing technologies on mobile platforms, playing a central role in rendering web content like mobile advertisements. However, their use and potential to bridge web and mobile tracking paradigms comes at a significant privacy cost for users. Although prior work has highlighted privacy risks associated with WebViews, the real-world scale and privacy impact of their misuse and abuse remain unexplored due to the hybrid nature of WebViews-combining Java, native, and dynamically-loaded JavaScript (JS) code. In this paper, we present the first large-scale empirical study of WebView abuse in Android apps. We analyze how app developers and third-party SDKs facilitate user tracking by configuring WebViews to bypass default platform privacy protections and enable invasive tracking through JavaScript code. Using a novel analysis pipeline that combines static and dynamic analysis of Java/Kotlin code and JavaScript, we reveal how numerous actors undermine users' privacy and exploit WebViews in the wild. We show that harmful JavaScript code, often distributed via unvetted Real-Time Bidding (RTB) processes, exploits WebViews to perform advanced tracking techniques such as cookie sync-ing, canvas fingerprinting, and misuse of the Java-JS interface and permission-protected JavaScript APIs to silently leak unique user identifiers and geolocation data without user awareness for cross-platform tracking.
Authors
- José Miguel Moreno (ORCID: https://orcid.org/0009-0009-0849-204X)
- Narseo Vallina-Rodríguez (ORCID: https://orcid.org/0000-0002-5420-6835)
- Joel Reardon (ORCID: https://orcid.org/0000-0001-9702-775X)
- Juan Tapiador (ORCID: https://orcid.org/0000-0002-4573-3967)
- Srdjan Matic (ORCID: https://orcid.org/0000-0003-2822-3970)
- Nipuna Weerasekara (ORCID: https://orcid.org/0000-0002-6129-5071)
Institutions
- University of Calgary (CA)
- IMDEA Networks (ES)
- IMDEA Software Institute (ES)
- Universidad Carlos III de Madrid (ES)
Publication Details
- Journal
- Proceedings on Privacy Enhancing Technologies
- Published
- 2025-07-13
- DOI
- https://doi.org/10.56553/popets-2025-0155
- Primary Topic
- Mobile and Web Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00