← All stories
● Covered by 2 sources · 2 reportsMedium impact2 negative

New CSS Attacks Bypass Webmail Defenses, Enabling Password and Token Theft

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • CSS attacks bypass webmail sanitization to interact with UI.
  • Techniques can steal passwords, tokens, and hijack UI actions.
  • Affects Outlook, Gmail, Fastmail, Proton Mail, Yahoo, AOL Mail.
  • Research presented by Gareth Heyes at Black Hat USA 2026.
  • Some vulnerabilities fixed, others still active as of August 6.

CSS Vulnerabilities in Webmail Clients

New research has uncovered vulnerabilities in how webmail clients process and render email content, allowing malicious CSS to break out of its intended message boundary. This enables content within an email to interfere with the webmail interface itself, posing a risk to user security.

The techniques can be used to capture passwords, take over third-party accounts, leak tokens, hijack trusted UI actions, and manipulate AI tools that read email. This research highlights discrepancies between how CSS sanitizers interpret code and how browsers ultimately render it.

Affected Providers and Attack Chains

The research identified attack chains affecting major webmail providers, including Outlook, Gmail, Fastmail, Proton Mail, Yahoo Mail, and AOL Mail. Specific examples include an Outlook/Firefox chain that spoofs a Microsoft sign-in screen to capture passwords, and a Yahoo/AOL paste race that can expose a Medium email-login token.

Another chain, Gmail/Cowork, demonstrated the ability to exfiltrate a Slack token following prompt injection and user interaction. The research also noted that some webmail clients allow the browser to parse HTML and CSS first, then filter the interpreted output, which can still be mutated into something malicious.

Proof-of-Concept and Remediation Efforts

PortSwigger researcher Gareth Heyes presented this work at Black Hat USA 2026, providing proof-of-concept research. As of August 8, public PoCs remain available, though no malicious exploitation has been reported.

Some vulnerabilities have been addressed; Fastmail fixed two CSS mutation bugs, and a Proton Mail proxy bypass stopped working upon retesting. However, Outlook label-jacking and Gmail's image-set() bypass were still functional when the research was published on August 6.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 15

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

How outlets covered it

A security researcher demonstrated methods to bypass CSS sanitization in major webmail clients, enabling UI spoofing, token exfiltration, and control over third-party websites. These vulnerabilities arise from discrepancies between how sanitizers interpret CSS and how browsers render it, affecting services like Outlook, Fastmail, and Yahoo Mail.

New research demonstrates CSS-based attacks that allow content within an email to escape its message boundary and interact with the webmail interface, potentially leading to password theft, account takeovers, and token leakage across major webmail providers. This research highlights vulnerabilities in how webmail clients process and render email content, posing a risk to user security if not addressed by providers.