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-35539

CVE-2026-35539: Roundcube Webmail XSS Vulnerability

CVE-2026-35539 is a cross-site scripting flaw in Roundcube Webmail caused by insufficient HTML sanitization in attachment preview mode. This post covers the technical details, affected versions, impact, and mitigation.

Published: April 10, 2026

CVE-2026-35539 Overview

A Cross-Site Scripting (XSS) vulnerability has been discovered in Roundcube Webmail affecting versions prior to 1.5.14 and 1.6.14. The vulnerability exists due to insufficient HTML sanitization when previewing text/html email attachments. An attacker can craft a malicious HTML attachment that, when previewed by a victim, executes arbitrary JavaScript code in the context of the victim's browser session.

Critical Impact

Attackers can steal session cookies, capture credentials, or perform actions on behalf of the authenticated user by exploiting insufficient HTML sanitization in the attachment preview functionality.

Affected Products

  • Roundcube Webmail versions before 1.5.14
  • Roundcube Webmail versions before 1.6.14
  • Roundcube Webmail 1.7 release candidates before 1.7-rc5

Discovery Timeline

  • 2026-03-18 - Roundcube releases security patches (1.5.14, 1.6.14, 1.7-rc5)
  • 2026-04-03 - CVE-2026-35539 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-35539

Vulnerability Analysis

This vulnerability is classified as a Cross-Site Scripting (XSS) flaw (CWE-79). The issue stems from inadequate sanitization of HTML content when Roundcube renders text/html attachments in preview mode. When a user previews a specially crafted HTML attachment, malicious JavaScript code embedded within the attachment can execute within the user's browser session.

The attack requires user interaction—specifically, the victim must click to preview the malicious HTML attachment. Once the preview is triggered, the unsanitized content is rendered in the browser context, allowing script execution with the same privileges as the authenticated Roundcube session.

Root Cause

The root cause of this vulnerability is insufficient HTML sanitization in the attachment preview functionality. When Roundcube processes text/html attachments for preview display, certain malicious script elements or event handlers are not properly filtered or escaped, allowing them to be rendered and executed by the browser.

Attack Vector

The attack is network-based and requires the attacker to send an email containing a malicious HTML attachment to the target. The exploitation flow involves:

  1. Attacker crafts an email with a text/html attachment containing embedded malicious JavaScript
  2. Victim receives the email in their Roundcube inbox
  3. Victim clicks to preview the HTML attachment
  4. Roundcube's insufficient sanitization allows the malicious script to execute
  5. The script can steal session tokens, perform CSRF attacks, or exfiltrate sensitive data

Since no verified code examples are available for this vulnerability, refer to the Roundcube Security Updates Announcement and the associated commits for technical implementation details.

Detection Methods for CVE-2026-35539

Indicators of Compromise

  • Unusual JavaScript execution errors in browser console logs when viewing email attachments
  • Email messages containing text/html attachments with suspicious script tags or event handlers
  • Unexpected outbound network connections triggered during attachment preview
  • User session anomalies or unauthorized actions following attachment preview events

Detection Strategies

  • Monitor web application logs for unusual attachment preview requests followed by suspicious client-side behavior
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Deploy browser-based XSS detection tools that can identify malicious script injection patterns
  • Analyze incoming emails for HTML attachments containing obfuscated or suspicious JavaScript code

Monitoring Recommendations

  • Enable verbose logging for attachment preview operations in Roundcube
  • Implement email gateway scanning to flag HTML attachments with embedded scripts before delivery
  • Monitor for unusual authentication patterns that may indicate session hijacking post-exploitation
  • Configure alerts for CSP violation reports that may indicate XSS exploitation attempts

How to Mitigate CVE-2026-35539

Immediate Actions Required

  • Upgrade Roundcube Webmail to version 1.5.14, 1.6.14, or 1.7-rc5 or later immediately
  • Review web server logs for any suspicious attachment preview activity
  • Consider temporarily disabling HTML attachment preview functionality until patching is complete
  • Notify users to avoid previewing HTML attachments from untrusted sources

Patch Information

Roundcube has released security updates to address this vulnerability. The following versions contain the fix:

  • Roundcube 1.5.14
  • Roundcube 1.6.14
  • Roundcube 1.7-rc5

The fix improves HTML sanitization for attachment preview mode. Related commits include:

  • Commit 10a6d1f
  • Commit 1b30edf
  • Commit d742954

Workarounds

  • Disable HTML attachment preview functionality by configuring Roundcube to download attachments instead of previewing them
  • Implement strict Content Security Policy (CSP) headers to mitigate the impact of XSS attacks
  • Configure email gateways to strip or sanitize HTML attachments before delivery
  • Educate users to download and scan HTML attachments locally rather than previewing them in the webmail interface
bash
# Example: Add Content Security Policy headers in Apache
# Add to .htaccess or virtual host configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; frame-ancestors 'self';"

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 Score6.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • Roundcube Release 1.5.14

  • Roundcube Release 1.6.14

  • Roundcube Release Candidate 1.7-rc5
  • Vendor Resources
  • Roundcube Commit Update

  • Roundcube Commit Update

  • Roundcube Commit Update

  • Roundcube Security Updates Announcement
  • Related CVEs
  • CVE-2026-35544: 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