type: incident ยท created: 2026-08-09 ยท updated: 2026-08-09 ยท tags: [incident, css, webmail, phishing, black-hat, token-theft, password-theft] ยท confidence: high ยท affected_sectors: [technology, government, finance, all] ยท au_impact: true
New CSS Attacks Break Webmail Defenses to Steal Passwords and Tokens
PortSwigger researcher Gareth Heyes presented at Black Hat USA 2026 showing that CSS content inside an email can escape its message boundary and interfere with the webmail interface. Across attack chains spanning Outlook, Gmail, Fastmail, Proton Mail, Yahoo Mail, and AOL Mail, the techniques can capture passwords, take over third-party accounts, leak tokens, hijack trusted UI actions, and manipulate AI tools that read email.
Overview
| Attribute | Detail |
|---|---|
| Discovered by | Gareth Heyes (PortSwigger) |
| Presented at | Black Hat USA 2026 |
| Date | 2026-08-08 |
| Affected platforms | Outlook, Gmail, Fastmail, Proton Mail, Yahoo Mail, AOL Mail |
| Source | The Hacker News |
Attack Details
One demonstrated Outlook/Firefox chain spoofs a Microsoft sign-in screen and captures the password a recipient types. The attacks exploit CSS parsing behaviors specific to each webmail client:
- CSS mutation allows content to escape the email message boundary
- Password capture via spoofed sign-in screens rendered within the webmail interface
- Token hijacking by interfering with the webmail UI
- AI tool manipulation โ AI agents that read email can be fed manipulated content
Mitigation
- Fastmail fixed two CSS mutation bugs
- Public PoCs remain available
- Users should exercise caution when opening emails in webmail interfaces
- Consider enabling MFA on all email-adjacent services
- Review email client security posture under ASD ISM and NZISM guidance
Related Pages
- Ai Assisted Http Terminator Finds Novel Http Desync Techniques And Apache Zero D โ PortSwigger's other major web security research this week