Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35544

CVE-2026-35544: Roundcube Webmail XSS Vulnerability

CVE-2026-35544 is a cross-site scripting vulnerability in Roundcube Webmail caused by insufficient CSS sanitization in HTML emails. This article covers the technical details, affected versions, impact, and mitigation.

Published: April 10, 2026

CVE-2026-35544 Overview

CVE-2026-35544 is a CSS sanitization bypass vulnerability discovered in Roundcube Webmail. The flaw exists in the HTML email message processing component, where insufficient Cascading Style Sheets (CSS) sanitization allows attackers to bypass fixed-position mitigations by using the CSS !important declaration. This vulnerability enables malicious actors to craft specially formatted HTML emails that can manipulate the visual presentation of content within the webmail interface.

Critical Impact

Attackers can bypass security controls designed to prevent fixed-position CSS abuse in HTML emails, potentially enabling UI manipulation, phishing overlays, or clickjacking-style attacks against Roundcube Webmail users.

Affected Products

  • Roundcube Webmail versions prior to 1.5.14
  • Roundcube Webmail versions prior to 1.6.14
  • Roundcube Webmail version 1.7-rc4 and earlier

Discovery Timeline

  • 2026-03-18 - Roundcube releases security updates 1.7-rc5, 1.6.14, and 1.5.14
  • 2026-04-03 - CVE-2026-35544 published to NVD
  • 2026-04-09 - Last updated in NVD database

Technical Details for CVE-2026-35544

Vulnerability Analysis

The vulnerability resides in Roundcube Webmail's CSS sanitization logic within the rcube_utils.php file. Roundcube implements security controls to convert potentially dangerous position: fixed CSS declarations to position: absolute to prevent UI manipulation attacks. However, the original implementation used strcasecmp() for exact string matching, which failed to detect when the !important declaration was appended to the value (e.g., fixed !important).

This insufficient input validation classifies as CWE-669 (Incorrect Resource Transfer Between Spheres), where untrusted CSS content passes through the sanitization layer without proper neutralization.

Root Cause

The root cause lies in the overly strict string comparison logic used for detecting the fixed position value. The vulnerable code used strcasecmp($value, 'fixed') === 0, which only matches when the value is exactly "fixed" (case-insensitive). Attackers could bypass this check by appending !important to the CSS value, resulting in strings like fixed !important that would not match the exact comparison but would still be interpreted as position: fixed by browsers due to CSS parsing rules.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker sends a maliciously crafted HTML email to a Roundcube Webmail user. When the victim views the email, the embedded CSS containing position: fixed !important bypasses the sanitization filter, allowing elements to be positioned at fixed coordinates on the screen. This can be exploited to overlay fake UI elements, obscure legitimate content, or create deceptive interfaces for phishing attacks.

php
// Vulnerable code (before patch)
} elseif ($property == 'position' && strcasecmp($value, 'fixed') === 0) {
    // Convert position:fixed to position:absolute (#5264)
    $value = 'absolute';
}

// Patched code (after fix)
} elseif ($property == 'position' && stripos($value, 'fixed') !== false) {
    // Convert position:fixed to position:absolute (#5264)
    $value = 'absolute';
}

Source: GitHub Commit

Detection Methods for CVE-2026-35544

Indicators of Compromise

  • HTML emails containing CSS declarations with position: fixed !important or similar patterns
  • Email messages with unusually complex inline styles targeting position properties
  • User reports of unexpected visual overlays or UI elements when viewing emails
  • Web application logs showing emails with obfuscated or encoded CSS content

Detection Strategies

  • Implement email content inspection rules to detect position:\s*fixed\s*!important patterns in incoming messages
  • Monitor web application firewall (WAF) logs for HTML emails containing suspicious CSS declarations
  • Deploy content security policy (CSP) headers to restrict positioning behaviors where possible
  • Review Roundcube access logs for patterns indicating exploitation attempts

Monitoring Recommendations

  • Enable verbose logging for Roundcube's HTML sanitization component to capture bypassed content
  • Configure alerting for emails containing multiple !important CSS declarations targeting layout properties
  • Implement anomaly detection for emails with excessive inline CSS or style blocks
  • Monitor for user complaints about phishing-like behavior within the webmail interface

How to Mitigate CVE-2026-35544

Immediate Actions Required

  • Upgrade Roundcube Webmail to version 1.5.14, 1.6.14, or 1.7-rc5 immediately
  • Review email quarantine logs for potentially malicious messages received before patching
  • Notify users about the vulnerability and advise caution when viewing suspicious emails
  • Consider temporarily disabling HTML email rendering if immediate patching is not possible

Patch Information

Roundcube has released security patches addressing this vulnerability across all supported branches. The fix changes the CSS position value detection from exact string matching (strcasecmp) to substring detection (stripos), ensuring that any CSS value containing "fixed" will be properly sanitized regardless of additional modifiers like !important.

Official patches are available at:

  • Roundcube Webmail 1.5.14
  • Roundcube Webmail 1.6.14
  • Roundcube Webmail 1.7-rc5

For additional details, see the Roundcube Security Advisory.

Workarounds

  • Configure email gateway to strip or sanitize CSS containing position properties with !important declarations
  • Disable HTML email rendering in Roundcube by setting $config['prefer_html'] = false; in the configuration
  • Implement additional CSS filtering at the reverse proxy or WAF level to block position: fixed patterns
  • Educate users to use plain text view for suspicious emails until patches are applied
bash
# Configuration example - Disable HTML email rendering as temporary mitigation
# Edit config/config.inc.php
echo "\$config['prefer_html'] = false;" >> /var/www/roundcube/config/config.inc.php
echo "\$config['show_images'] = 0;" >> /var/www/roundcube/config/config.inc.php

# Restart web server to apply changes
systemctl restart apache2
# or
systemctl restart nginx

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechRoundcube Webmail

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-669
  • Technical References
  • GitHub Release 1.5.14

  • GitHub Release 1.6.14

  • GitHub Release 1.7-rc5
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • Roundcube Security Updates
  • Related CVEs
  • CVE-2026-35539: Roundcube Webmail XSS Vulnerability

  • CVE-2025-68461: Roundcube Webmail XSS Vulnerability

  • CVE-2020-35730: Roundcube Webmail XSS Vulnerability

  • CVE-2023-43770: Roundcube Webmail XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English