CVE-2020-13965: XSS via XML Attachment in Roundcube Webmail <1.3.12, <1.4.5
- Vendors
- Debian ProjectFedora ProjectRoundcube
CVE-2020-13965 is a cross-site scripting (XSS) vulnerability in Roundcube Webmail versions prior to 1.3.12 and 1.4.x prior to 1.4.5. The vulnerability arises because the application allows previewing attachments with the MIME type text/xml, which can be crafted to include malicious JavaScript. When a user previews such a malicious XML attachment, the embedded script can execute in the context of the user's session.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of the victim's Roundcube session. This can lead to session hijacking, theft of sensitive information, or further attacks within the webmail environment.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, administrators can disable the preview of text/xml attachments or restrict the allowed attachment types for preview. Additionally, applying strict Content Security Policy (CSP) headers may help mitigate the impact of XSS vulnerabilities.
Remediation
Patch, then assume compromise.
Upgrade Roundcube Webmail to version 1.3.12, 1.4.5, or later, where the handling of text/xml attachments for preview has been corrected to prevent XSS.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2020-13965 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 26, 2024.
- Is there a public exploit for CVE-2020-13965?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2020-13965.
- Is there a patch for CVE-2020-13965?
- Upgrade Roundcube Webmail to version 1.3.12, 1.4.5, or later, where the handling of text/xml attachments for preview has been corrected to prevent XSS.
- What products are affected by CVE-2020-13965?
- Roundcube Webmail, Debian Project Debian Linux, and Fedora Project Fedora.
- How severe is CVE-2020-13965?
- CVE-2020-13965 has a CVSS v3.1 score of 6.1 (Medium) and an EPSS score of 76.6% (100th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.