LIVE · cybersecurity feed
Live wire
Webmail CSS Attacks Expose a New Risk for AI-Powered Email ToolsMetabase Zero-Day Exploited in the Wild, Exposing Admin Access and Sensitive DataCritical One-Click Vulnerability in Atlassian’s Rovo AI Exposed Enterprise DataCVE-2026-8037 · CISA Adds Progress LoadMaster Command Injection Flaw to KEV CatalogSensitive Info Goes Into ‘No Reply’ Emails Constantly. This Guy Sees It AllAtlassian Rovo Can Be Tricked Into Sending Jira and Confluence Data to AttackersNew CSS Attacks Can Break Webmail Defenses to Steal Passwords and TokensCVE-2023-38646 · Metabase Zero-Day Exploited in Wild Allows Admin Access Without AuthenticationCVE-2026-18577 · N-able Issues N-central Hotfix 2 as Attackers Reach Managed Systems and PersistCVE-2026-8037 · Progress Kemp LoadMaster Flaw Hits CISA KEV After 792 Reported Exploit Attempts
css attackshigh

Webmail CSS Attacks Expose a New Risk for AI-Powered Email Tools

Researchers have discovered that CSS, typically used for styling web pages, can be weaponized in webmail clients to steal user credentials, hijack sessions, and manipulate AI tools. These attacks exploit vulnerabilities in how email clients handle HTML and CSS, allowing malicious styling to interact with the trusted interface. The research highlights risks for major services like Outlook, Gmail, and Yahoo Mail, particularly concerning AI integrations.

zeroday.news ·

A security researcher has demonstrated a series of webmail client vulnerabilities that leverage Cascading Style Sheets (CSS) to steal credentials, hijack sessions, and manipulate AI tools integrated with user inboxes. The research, conducted by Gareth Heyes of PortSwigger, details attack chains against major webmail services including Outlook, Gmail, Fastmail, Proton Mail, Yahoo Mail, and AOL Mail.

The core of these attacks exploits the assumption that CSS, a styling language, cannot interact with elements outside the email message it is applied to. Heyes identified methods to bypass this assumption by either abusing permitted CSS features or exploiting discrepancies between what a content sanitizer approves and what a browser actually renders. This allows untrusted content within an email to interact with the trusted user interface surrounding it.

One particularly concerning attack chain targets Outlook. Heyes found that allowed label elements could trigger controls external to the email. Furthermore, Outlook's JavaScript could transform sanitized custom attributes into new page elements carrying CSS that completely bypasses the sanitizer's rules. This technique was used to disguise a dropdown menu as a password field. In Firefox, the attack could capture typed characters in near real-time because the browser's roughly one-second selection timer resets whenever the dropdown moves off-screen. Heyes described this as a "CSS gadget" where existing JavaScript appends an element to the Document Object Model (DOM) with a CSS property or value not on the webmail CSS sanitizer's allow list, enabling a break out of trust boundaries. Specifically, Outlook's allowance of custom data attributes, combined with a library that appends elements with `position:fixed`, allowed elements to be positioned anywhere on the page, effectively defacing Outlook's interface.

Yahoo Mail and AOL Mail were susceptible to a different vector involving copy and paste in Firefox. HTML pasted into a draft could briefly retain active styling before sanitization removed it. Heyes exploited this window to leak a 12-character login token during a Medium sign-in process. An attacker could initiate a login via email, create malicious CSS to copy to the clipboard, and if the victim pasted it into a draft, the token would be stolen.

Even in scenarios where Content Security Policy (CSP) blocks external resource requests, CSS alone could be weaponized. If a numeric token was displayed as plain text in an email, CSS could determine which digits appeared and their frequency. By carefully arranging links with selectors and visibility rules, a single click could then reveal this information to an attacker's server without requiring JavaScript.

The research also highlighted significant risks to AI tools connected to email inboxes. In Gmail, an `image-set()` fallback could trigger an external request despite sanitization. Heyes chained this into an indirect prompt-injection email processed by Anthropic's Claude Cowork, which was integrated with Gmail. The injected instructions caused the AI to retrieve a token and place it in an HTML draft, leading to its exposure upon viewing. A separate demonstration against OpenAI's Atlas browser used hidden CSS pseudo-elements to present harmless text to a human while an AI model read a different, hidden instruction.

While some providers have addressed reported issues, others remain vulnerable. Fastmail patched two CSS mutation bugs reported by Heyes, and a Proton Mail proxy bypass was no longer effective upon retesting. However, Outlook's label-jacking technique and Gmail's `image-set()` bypass were still functional as of August 6, and it is unconfirmed whether the full Outlook password-capture chain has been resolved.

Proof-of-concept code has been made public alongside the research. Heyes and PortSwigger recommend that webmail providers isolate HTML email within sandboxed iframes, restrict CSS to strict character allow-lists, check for dangerous CSS gadgets before permitting custom attributes, and block image requests to any domain not on an approved list. These measures aim to mitigate the risks posed by weaponized stylesheets.

css attackswebmail securitycredential theftsession hijackingai security
ShareXLinkedInWhatsAppFacebook

More News

view all →
vulnerability

Week in review: Cisco fixes IMC bug, Patch Tuesday forecast, Black Hat USA 2026

Here’s an overview of some of last week’s most interesting news, articles, interviews and videos: Mapping the malware blast radius a single alert won’t show you In this interview with Help Net Security, Mike Wiacek, founder and CTO of Stairwell, explains Backstory, an AI agent that takes a single alert and works outward to map how far a malware campaign spread. He walks through the research behind

breach

Hackers breach TrueConf to trojanize client installers with backdoors

The Head Mare hacktivist group has been exploiting vulnerabilities in unpatched TrueConf video conferencing servers to replace client installers with malicious versions that deliver backdoors. [...]

cybersecurity

China Launches Cybersecurity Review of Palo Alto Networks Products

China's Cyberspace Administration has initiated a cybersecurity review of Palo Alto Networks' products sold within the country, citing national security concerns. The review, based on national security and cybersecurity laws, lacks specific details regarding the reasons or potential impact. Palo Alto Networks has stated that its operations and product delivery in the region remain unaffected for now.

ai

Devs to Anthropic, OpenAI, Cursor, and friends: Make security and privacy the default

Researchers scour social media to measure developer concerns about AI coding tools

vulnerabilityhigh

Metabase Zero-Day Exploited in the Wild, Exposing Admin Access and Sensitive Data

Attackers exploited a CVSS 10 Metabase zero-day to gain admin access and steal sensitive data. Framework confirmed it was among the victims. Metabase just confirmed something no analytics vendor wants to write: attackers found and used an unpatched, maximum-severity flaw against Metabase Cloud before anyone on the defense side knew it existed. The company’s own […]

breachcritical

Critical One-Click Vulnerability in Atlassian’s Rovo AI Exposed Enterprise Data

The RovoBlast attack method identified by Varonis researchers could have been exploited to steal Confluence, Jira and SharePoint data. The post Critical One-Click Vulnerability in Atlassian’s Rovo AI Exposed Enterprise Data appeared first on SecurityWeek.