What is Roundcube Webmail?
Roundcube is a widely deployed open-source webmail client, commonly bundled with hosting control panels (cPanel, Plesk) and self-hosted mail servers around the world. Its ubiquity in shared hosting environments and small-to-mid-sized organizations makes it an attractive target: a webmail XSS bug can be used to hijack the mail session of anyone who simply opens a malicious message, without any separate exploit delivery needed.
Overview
CVE-2020-13965 is a cross-site scripting vulnerability in how Roundcube renders certain attachment content, specifically related to malicious XML data. An attacker who can get a target to open a specially crafted email — a routine, low-effort phishing action — can have arbitrary JavaScript execute in the victim's webmail session. Because that session already has access to the victim's inbox, contacts, and often session cookies or tokens, XSS in a webmail client is functionally equivalent to a session-hijacking primitive rather than merely a cosmetic bug.
Technical Details
The vulnerability (CWE-79, Cross-Site Scripting) stems from insufficient sanitization when Roundcube processes and renders XML-based attachment content in the webmail interface. Because the vulnerability is reflected in the context of the mail client itself (CVSS Scope: Changed), successful exploitation can affect security context beyond the vulnerable component — for example, allowing the attacker's script to interact with other parts of the webmail session. Exploitation requires user interaction (opening/viewing the malicious message) but no attacker authentication, and no unusual complexity, making it a low-effort, high-value phishing payload.
Discovery
Fixed by the Roundcube project as part of its routine security update process; the Roundcube team credited the report and shipped the fix in the 1.4.5 and 1.3.12 releases without extensive public researcher attribution beyond the project's own advisory.
Exploitation Context
CISA's KEV catalog listing, added roughly four years after the original patch, confirms this vulnerability has been exploited in the wild — a reminder that unpatched webmail installations, especially in shared hosting environments where updates are not automatically applied, remain exploitable for years after a fix is available. Webmail XSS bugs like this are a known favorite of espionage-motivated phishing campaigns because they allow attackers to compromise a target's mailbox using nothing more than a crafted email, without needing separate malware delivery.
Remediation
- Upgrade to Roundcube 1.4.5, 1.3.12, or later (or the current supported release line).
- Where upgrading immediately isn't possible, disable or restrict attachment preview/rendering features that process untrusted XML content.
- Deploy Content Security Policy headers on the webmail interface to reduce the impact of any XSS that does execute.
- Monitor webmail server logs for anomalous attachment content or repeated delivery of suspicious crafted messages.
- Treat any long-unpatched, internet-facing Roundcube instance as a priority for immediate upgrade given confirmed real-world exploitation.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2020-13965 |
| Vendor / Product | Roundcube — Webmail |
| NVD Published | 2020-06-09 |
| NVD Last Modified | 2025-11-04 |
| CVSS 3.1 Score | 6.1 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Severity | MEDIUM |
| CWE | CWE-79 find similar ↗ |
| CISA KEV Added | 2024-06-26 |
| CISA KEV Deadline | 2024-07-17 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2020-06-09 | Fixed in Roundcube 1.4.5 and 1.3.12 |
| 2024-06-26 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2024-07-17 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| NVD — CVE-2020-13965 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |
| Roundcube — Security updates 1.4.5 and 1.3.12 | Vendor Advisory |