LIVE · cybersecurity feed
Live wire
css attackshigh

New CSS Attacks Can Break Webmail Defenses to Steal Passwords and Tokens

New research has uncovered a sophisticated class of CSS-based attacks capable of circumventing webmail security mechanisms, allowing adversaries to exfiltrate sensitive data such as user passwords and session tokens. The reported techniques demonstrate a method for bypassing existing defenses in widely used email services, including those offered by Microsoft Outlook, Google Gmail, and Yahoo…

ZeroDay News ·

Source: The Hacker News

New research has uncovered a sophisticated class of CSS-based attacks capable of circumventing webmail security mechanisms, allowing adversaries to exfiltrate sensitive data such as user passwords and session tokens. The reported techniques demonstrate a method for bypassing existing defenses in widely used email services, including those offered by Microsoft Outlook, Google Gmail, and Yahoo Mail. This development points to a significant risk of account compromise and broader data breaches for users of these platforms.

The core mechanism of these attacks leverages the rendering capabilities of Cascading Style Sheets (CSS) within webmail clients. While webmail services typically employ various sanitization and content security policies to prevent malicious scripts from executing, CSS can be exploited in ways that bypass these controls. Attackers can craft specially designed CSS rules that, when rendered by the victim's browser, can extract information that would otherwise be protected by same-origin policies or other client-side security measures. This can involve techniques like exfiltrating data pixel by pixel, or by observing changes in layout or element visibility based on sensitive content.

These CSS-based attacks often exploit subtle vulnerabilities in how webmail clients parse and display HTML and CSS content within emails. Even after sanitization efforts, certain CSS properties or combinations can be abused to create side channels. For instance, an attacker might embed CSS that conditionally loads external resources or alters element styling based on the presence or value of specific data within the rendered email, effectively "leaking" that data to an attacker-controlled server. This class of attack is particularly insidious because it does not rely on JavaScript execution, which is often the primary focus of content security policies.

The reported research specifically implicates popular webmail providers such as Outlook, Gmail, and Yahoo Mail. Products in this category are designed to handle a vast array of incoming email content, which inherently creates a large attack surface. The complexity of rendering diverse HTML and CSS from untrusted sources, while simultaneously enforcing robust security, presents a continuous challenge for these platforms. The widespread adoption of these services means that a successful exploitation method could potentially affect a very large user base.

Mitigation for this class of vulnerability typically involves more stringent sanitization of incoming email content, particularly concerning CSS properties and values. Webmail providers may need to implement stricter whitelisting of allowed CSS, or adopt more robust content isolation techniques, such as rendering email content within sandboxed iframes with highly restrictive permissions. Users are generally advised to exercise caution with emails from unknown senders, though these types of attacks can sometimes be triggered by merely opening a malicious email, even without clicking links.

The findings underscore the ongoing arms race between attackers and security researchers in the web application space. As traditional script-based attacks become harder to execute due to improved browser and web application security, adversaries are increasingly exploring alternative vectors, such as those leveraging CSS or other rendering engine features. This highlights the critical need for continuous research into novel attack techniques and the subsequent adaptation of security defenses to address these evolving threats, particularly in widely used and sensitive applications like webmail.

css attackswebmail vulnerabilitiespassword thefttoken exfiltrationemail security
ShareXLinkedInWhatsAppFacebook

More News

view all →
security

Canadian cybersecurity executive arrested in federal extortion case

A Canadian cybersecurity executive was arrested in Pennsylvania on Thursday, facing federal charges of conspiracy to commit extortion. Edward Dubrovsky, 54, a co-founder and former Chief Operating Officer of CYPFER, a firm specializing in ransomware negotiation, is charged with conspiring to threaten the confidentiality of information for extortion and conspiring to commit Hobbs Act extortion,…

breach

Criminal IP Introduces AITEM as the Next Evolution of Attack Surface Management

AI SPERA, the company behind the cyber threat intelligence platform Criminal IP, has announced AITEM (AI-Powered Threat Exposure Management), an expansion of its Attack Surface Management (ASM) offerings. AITEM aims to move beyond traditional asset discovery to provide a more comprehensive approach to understanding, prioritizing, and responding to security exposures. The platform is scheduled…

ai

AI Is Getting Really Good at Messing With Cybercriminals

Anti-cybercrime initiatives are increasingly deploying artificial intelligence to disrupt scammers by engaging them with lifelike bots, which the criminals mistake for genuine victims. This strategy aims to waste scammers' time and resources while gathering intelligence on their operations.

ransomware

FBI Arrests Ransomware Negotiation Firm Co-Founder in ShinyHunters Probe

The Federal Bureau of Investigation (FBI) has reportedly arrested Edward Dubrovsky, a co-founder of the ransomware negotiation firm Cypfer and currently associated with CyberSteward. The arrest is said to be part of the ongoing ShinyHunters investigation, specifically in connection with an incident involving FBI job applicant data.

ai

The Third-Party Agent Problem: Why Security Built for AI You Chose Misses the Agents You Didn't

A new report highlights a significant blind spot in enterprise security architectures concerning the proliferation of third-party AI agents. The forthcoming 2026 State of Agent Security Report indicates that current security models, often designed to protect AI systems directly chosen and deployed by an organization, frequently fail to account for AI capabilities embedded within third-party…

security

Insider Cyber Extortion Plot Against Industrial Firm Lands Engineer in Prison

A former core infrastructure engineer has been sentenced to prison for an attempted cyber extortion plot against an industrial firm. The engineer reportedly deleted administrative accounts and reset hundreds of user passwords, subsequently demanding a ransom of 20 Bitcoin to prevent further disruption to the company's servers.