← Vulnerability feed

Vulnerability record · CVE-2020-13965 · published 9 June 2020

CVE-2020-13965: Roundcube Webmail XSS via malicious XML attachment preview

Roundcube · Webmail

Roundcube Webmail before 1.3.12 and 1.4.x before 1.4.5 allows cross-site scripting because text/xml is among the allowed types for attachment preview. A crafted XML attachment can execute script in the webmail origin when previewed, which matters because webmail sessions hold mail content and credentials.

6.1 CVSS 3.1 Medium CISA KEV since 26 Jun 2024 EPSS 77% · top 0.3% CWE-79 · Cross-site scriptingCWE-80 · CWE-80
6.1CVSS 3.1 base score, v2 4.3
77%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
3Affected product versions listed by NVD
19References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

An issue was discovered in Roundcube Webmail before 1.3.12 and 1.4.x before 1.4.5. There is XSS via a malicious XML attachment because text/xml is among the allowed types for a preview.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityIt is in CISA KEV with a very high EPSS score and public exploit references, though the CVSS base score is medium and exploitation requires user interaction.

What it is

Roundcube Webmail before 1.3.12 and 1.4.x before 1.4.5 allows cross-site scripting because text/xml is among the allowed types for attachment preview. A crafted XML attachment can execute script in the webmail origin when previewed, which matters because webmail sessions hold mail content and credentials.

Impact

An attacker can run script in the victim's Roundcube session, enabling theft of session data or mail content and actions performed as the logged-in user. The CVSS vector scores scope change with low confidentiality and integrity impact.

Attack surface

Reached remotely over the network by sending an email with a malicious XML attachment that the victim previews; no authentication is needed to deliver the message, but user interaction is required to trigger the preview.

Exploitation

CISA added this to the Known Exploited Vulnerabilities catalog on 2024-06-26, and EPSS gives a 30-day probability of 0.76596 (99.5th percentile); public exploit references are tagged Exploit.

What to do

  • Upgrade Roundcube Webmail to 1.3.12 or 1.4.5 or later; apply the vendor patch commit.
  • Apply distribution updates for Debian and Fedora packages carrying Roundcube.
  • If patching is not possible, disable or restrict attachment preview for text/xml and similar active content types.
  • Follow CISA KEV required action: apply vendor mitigations or discontinue use of the product if mitigations are unavailable.

Detection

  • Search mail gateway and webmail logs for XML attachments (text/xml, application/xml) delivered to Roundcube users.
  • Monitor for unexpected script execution or anomalous requests originating from the webmail origin in browser or proxy telemetry.
  • Review Roundcube version inventory to identify hosts below 1.3.12 or 1.4.5.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2020-13965 to the Known Exploited Vulnerabilities catalog on 26 June 2024 as "Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability". Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Federal deadline 17 July 2024.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-13965-Cross%20Site-Scripting%20via%20Malicious%20XML%2 ExploitThird Party Advisory
https://github.com/roundcube/roundcubemail/commit/884eb611627ef2bd5a2e20e02009ebb1eceecdc3 PatchThird Party Advisory
https://github.com/roundcube/roundcubemail/compare/1.4.4...1.4.5 Patch
https://github.com/roundcube/roundcubemail/releases/tag/1.3.12 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.4.5 Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLESQ4LPJGMSWHQ4TBRTVQR Mailing List
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODPJXBHZ32QSP4MYT2OBCAL Mailing List
https://roundcube.net/news/2020/06/02/security-updates-1.4.5-and-1.3.12 Vendor Advisory
https://www.debian.org/security/2020/dsa-4700 Third Party Advisory
https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-13965-Cross%20Site-Scripting%20via%20Malicious%20XML%2 ExploitThird Party Advisory
https://github.com/roundcube/roundcubemail/commit/884eb611627ef2bd5a2e20e02009ebb1eceecdc3 PatchThird Party Advisory
https://github.com/roundcube/roundcubemail/compare/1.4.4...1.4.5 Patch
https://github.com/roundcube/roundcubemail/releases/tag/1.3.12 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.4.5 Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLESQ4LPJGMSWHQ4TBRTVQR Mailing List
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODPJXBHZ32QSP4MYT2OBCAL Mailing List
https://roundcube.net/news/2020/06/02/security-updates-1.4.5-and-1.3.12 Vendor Advisory
https://www.debian.org/security/2020/dsa-4700 Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13965 US Government Resource

Track CVE-2020-13965 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2020-12641Roundcube Webmail OS command injection via image conversion path settingsRoundcube Webmail before 1.4.4 passes the im_convert_path and im_identify_path configuration settings to a shell without sanitization in rcube_image.…KEVEPSS 100%analysed7.8CVE-2017-16651Roundcube Webmail file disclosure via attachment pluginRoundcube Webmail before 1.1.10, 1.2.x before 1.2.7, and 1.3.x before 1.3.3 allows an authenticated user to read arbitrary files on the host filesyst…KEVEPSS 39%analysed6.1CVE-2024-37383Roundcube Webmail XSS via SVG animate attributesRoundcube Webmail before 1.5.7 and 1.6.x before 1.6.7 is vulnerable to cross-site scripting through SVG animate attributes. Because the flaw sits in …KEVEPSS 7.7%analysed6.1CVE-2023-43770Roundcube Webmail XSS via crafted links in plain-text emailsRoundcube before 1.4.14, 1.5.x before 1.5.4, and 1.6.x before 1.6.3 is vulnerable to cross-site scripting because of how rcube_string_replacer.php ha…KEVEPSS 2.9%analysed6.1CVE-2020-35730Roundcube Webmail stored XSS via link reference handlingRoundcube Webmail mishandles JavaScript inside a link reference element in plain text email, allowing script injection through linkref_addindex in rc…KEVEPSS 31%analysed5.4CVE-2023-5631Roundcube Webmail stored XSS via crafted SVG in HTML emailRoundcube before 1.4.15, 1.5.x before 1.5.5, and 1.6.x before 1.6.4 mishandle sanitization in program/lib/Roundcube/rcube_washtml.php, allowing a sto…KEVEPSS 3.7%analysed10.0CVE-2009-0846Mit kerberos 5 vulnerabilityThe asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5) before 1.6.4 a…EPSS 8.9%

Source: NIST National Vulnerability Database (record CVE-2020-13965), CISA KEV, FIRST EPSS (scores of 2026-11-26). This page is refreshed as NVD updates the record.