Lune

NDSS2025Top-tier venue

Cascading Spy Sheets: Exploiting the Complexity of Modern CSS for Email and Browser Fingerprinting

Leon Trampert, Daniel Weber, Lukas Gerlach, Christian Rossow, Michael Schwarz

Abstract

—In an attempt to combat user tracking, both privacy-aware browsers (e.g., Tor) and email applications usually disable JavaScript. This effectively closes a major angle for user fingerprinting. However, recent findings hint at the potential for privacy leakage through selected Cascading Style Sheets (CSS) features. Nevertheless, the full fingerprinting potential of CSS remains unknown, and it is unclear if attacks apply to more restrictive settings such as email. In this paper, we systematically investigate the modern dynamic features of CSS and their applicability for script-less finger-printing, bypassing many state-of-the-art mitigations. We present three innovative techniques based on fuzzing and templating that exploit nuances in CSS container queries, arithmetic functions, and complex selectors. This allows us to infer detailed application, OS, and hardware configurations at high accuracy. For browsers, we can distinguish 97 . 95% of 1176 tested browser-OS combinations. Our methods also apply to email applications— as shown for 8 out of 21 tested web, desktop or mobile email applications. This demonstrates that fingerprinting is possible in the highly restrictive setting of HTML emails and expands the scope of tracking beyond traditional web environments. In response to these and potential future CSS-based tracking capabilities, we propose two defense mechanisms that eliminate the root causes of privacy leakage. For browsers, we pro-pose to preload conditional resources, which eliminates feature-dependent leakage. For the email setting, we design an email proxy service that retains privacy and email integrity while largely preserving feature compatibility. Our work provides new insights and solutions to the ongoing privacy debate, highlighting the importance of robust defenses against emerging tracking methods.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • JavaScript Template Attacks: Automatically Inferring Host Information for Targeted Exploits cites Beauty and the Beast: Diverting Modern Web Browsers to Build Unique Browser Fingerprints
  • Doubly Dangerous: Evading Phishing Reporting Systems by Leveraging Email Tracking Techniques cites Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration Channels
  • Styled to Steal: The Overlooked Attack Surface in Email Clients cites Prime+Probe 1, JavaScript 0: Overcoming Browser-based Side-Channel Defenses
  • Styled to Steal: The Overlooked Attack Surface in Email Clients cites Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration Channels
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Continuous User Behavior Monitoring using DNS Cache Timing AttacksHannes Weissteiner, Roland Czerny, Simone Franza, Stefan Gast et al.NDSS 2026 · 2 citations
  2. Doubly Dangerous: Evading Phishing Reporting Systems by Leveraging Email Tracking TechniquesAnish Chand, Nick Nikiforakis, Phani VadrevuUSENIX Security 2025
  3. Styled to Steal: The Overlooked Attack Surface in Email ClientsLeon Trampert, Daniel Weber, Christian Rossow, Michael SchwarzCCS 2025

Builds on11

  1. Tranco: A Research-Oriented Top Sites Ranking Hardened Against ManipulationVictor Le Pochat, Tom van Goethem, Samaneh Tajalizadehkhoob, Maciej Korczynski et al.NDSS 2019 · 826 citations
  2. Beauty and the Beast: Diverting Modern Web Browsers to Build Unique Browser FingerprintsPierre Laperdrix, Walter Rudametkin, Benoit BaudryS&P 2016 · 279 citations
  3. Prime+Probe 1, JavaScript 0: Overcoming Browser-based Side-Channel DefensesAnatoly Shusterman, Ayush Agarwal, Sioli O'Connell, Daniel Genkin et al.USENIX Security 2021 · 73 citations
  4. Efail: Breaking S/MIME and OpenPGP Email Encryption using Exfiltration ChannelsDamian Poddebniak, Christian Dresen, Jens Müller, Fabian Ising et al.USENIX Security 2018 · 64 citations
  5. JavaScript Template Attacks: Automatically Inferring Host Information for Targeted ExploitsMichael Schwarz, Florian Lackner, Daniel GrussNDSS 2019 · 57 citations

Related papers

  1. Fashion Faux Pas: Implicit Stylistic Fingerprints for Bypassing Browsers' Anti-Fingerprinting DefensesXu Lin, Frederico Araujo, Teryl Taylor, Jiyong Jang et al.S&P 2023
  2. Double-Edged Shield: On the Fingerprintability of Customized Ad BlockersSaiid El Hajj Chehade, Ben Stock, Carmela TroncosoUSENIX Security 2025
  3. Robust Website Fingerprinting Through the Cache Occupancy ChannelAnatoly Shusterman, Lachlan Kang, Yarden Haskal, Yosef Meltser et al.USENIX Security 2019 · 159 citations
  4. Breaking the Shield: Analyzing and Attacking Canvas Fingerprinting Defenses in the WildHoang Dai Nguyen, Phani VadrevuWWW 2025 · 2 citations
  5. XHOUND: Quantifying the Fingerprintability of Browser ExtensionsOleksii Starov, Nick NikiforakisS&P 2017 · 104 citations
Dusk over the sea between two cliffs drawn in fine vertical lines