CVE-2020-13965
published 2020-06-09CVE-2020-13965: 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…
PriorityP182medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
KEVITW
CISA Known Exploited Vulnerabilitydue 2024-07-17
Exploited in the wild
EPSS
76.60%
99.5th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | roundcube | < roundcube 1.4.5+dfsg.1-1 (bookworm) | roundcube 1.4.5+dfsg.1-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| roundcube | webmail | < 1.3.12 | 1.3.12 |
| roundcube | webmail | >= 1.4.0 < 1.4.5 | 1.4.5 |
Detection & IOCsextracted from sources · hover to see the quote
snort
alert smtp any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Roundcube XSS via Malicious XML Attachment (CVE-2020-13965)"; flow:established,to_server; content:"Content-Type|3a 20|text/xml|3b 20|name|3d 22|"; content:".xml|22|"; within:50; content:"Content-Disposition|3a 20|inline|3b 20|filename|3d 22|"; content:".xml|22|"; within:50; content:"|3c|"; distance:0; content:"|3a|script|20|xmlns|3a|"; within:50; fast_pattern; content:"|2f|xhtml|22 3e|"; within:150; content:"|3a|script|3e|"; within:400; reference:url,github.com/mbadanoiu/CVE-2020-13965; reference:cve,2020-13965; classtype:web-application-attack; sid:2059898; rev:1; metadata:affected_product Roundcube, attack_target Web_Server, tls_state plaintext, created_at 2025_02_05, cve CVE_2020_13965, deployment Perimeter, deployment Internal, performance_impact Low, confidence Medium, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2025_02_05, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
- →Exploit is delivered via SMTP as an email attachment with Content-Type: text/xml and Content-Disposition: inline — monitor inbound SMTP traffic for XML attachments served inline, as the text/xml MIME type is permitted for preview in vulnerable Roundcube versions. ↗
- →The Snort/Suricata rule (ET sid:2059898) keys on the byte sequence |3a|script|20|xmlns|3a| (`:script xmlns:`) within 50 bytes of the XML content header, followed by |2f|xhtml|22 3e| (`/xhtml">`) within 150 bytes and |3a|script|3e| (`:script>`) within 400 bytes — these patterns identify the XHTML script namespace trick used to smuggle JavaScript in XML.
- →Look for email attachments where both Content-Type is text/xml and Content-Disposition is inline with a .xml filename — this combination triggers the vulnerable preview path in Roundcube.
- →PoC/exploit reference available at github.com/mbadanoiu/CVE-2020-13965 — useful for constructing test payloads or validating detection coverage.
- ·The Snort rule (sid:2059898) is scoped to plaintext SMTP only (tls_state plaintext) — it will NOT fire on SMTPS/STARTTLS-encrypted email streams, leaving a detection gap for TLS-wrapped delivery.
- ·The vulnerability affects Roundcube Webmail versions before 1.3.12 and 1.4.x before 1.4.5 — ensure version-based detection or asset inventory is scoped to these ranges only. ↗
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.1MEDIUM
vulncheck6.1MEDIUM
cisa6.1MEDIUM
vendor_debian6.1MEDIUM
vendor_redhat6.1MEDIUM
vendor_ubuntu6.1MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
CISA
Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability
cisa·2024-06-26·CVSS 6.1
CVE-2020-13965 [MEDIUM] CWE-80 Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability
Vulnerability: Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability
Affected: Roundcube Webmail
Roundcube Webmail contains a cross-site scripting (XSS) vulnerability that allows a remote attacker to manipulate data via a malicious XML attachment.
Required Action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Notes: https://roundcube.net/news/2020/06/02/security-updates-1.4.5-and-1.3.12; https://nvd.nist.gov/vuln/detail/CVE-2020-13965
Remediation Due Date: 2024-07-17
Ubuntu
Roundcube Webmail vulnerabilities
vendor_ubuntu·2022-08-08·CVSS 6.1
CVE-2020-13964 [MEDIUM] Roundcube Webmail vulnerabilities
Title: Roundcube Webmail vulnerabilities
Summary: Several security issues were fixed in Roundcube Webmail.
It was discovered that Roundcube Webmail allowed JavaScript code to be present
in the CDATA of an HTML message. A remote attacker could possibly use this
issue to execute a cross-site scripting (XSS) attack. This issue only affected
Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-12625)
It was discovered that Roundcube Webmail incorrectly processed login and
logout POST requests. An attacker could possibly use this issue to launch a
cross-site request forgery (CSRF) attack and force an authenticated user to be
logged out. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and
Ubuntu 20.04 ESM. (CVE-2020-12626)
It was discovered that Roundcube Webmail in
Red Hat
roundcubemail: XSS via a malicious XML attachment
vendor_redhat·2020-06-09·CVSS 6.1
CVE-2020-13965 [MEDIUM] roundcubemail: XSS via a malicious XML attachment
roundcubemail: XSS via a malicious XML attachment
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.
Statement: Roundcube is not shipped in any Red Hat offerings.
Debian
CVE-2020-13965: roundcube - An issue was discovered in Roundcube Webmail before 1.3.12 and 1.4.x before 1.4....
vendor_debian·2020·CVSS 6.1
CVE-2020-13965 [MEDIUM] CVE-2020-13965: roundcube - An issue was discovered in Roundcube Webmail before 1.3.12 and 1.4.x before 1.4....
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.
Scope: local
bookworm: resolved (fixed in 1.4.5+dfsg.1-1)
bullseye: resolved (fixed in 1.4.5+dfsg.1-1)
forky: resolved (fixed in 1.4.5+dfsg.1-1)
sid: resolved (fixed in 1.4.5+dfsg.1-1)
trixie: resolved (fixed in 1.4.5+dfsg.1-1)
OSV
roundcube vulnerabilities
osv·2022-08-08·CVSS 6.1
CVE-2020-12625 [MEDIUM] roundcube vulnerabilities
roundcube vulnerabilities
It was discovered that Roundcube Webmail allowed JavaScript code to be present
in the CDATA of an HTML message. A remote attacker could possibly use this
issue to execute a cross-site scripting (XSS) attack. This issue only affected
Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and Ubuntu 20.04 ESM. (CVE-2020-12625)
It was discovered that Roundcube Webmail incorrectly processed login and
logout POST requests. An attacker could possibly use this issue to launch a
cross-site request forgery (CSRF) attack and force an authenticated user to be
logged out. This issue only affected Ubuntu 16.04 ESM, Ubuntu 18.04 ESM and
Ubuntu 20.04 ESM. (CVE-2020-12626)
It was discovered that Roundcube Webmail incorrectly processed new plugin names
in rcube_plugin_api.php. An attacker could po
GHSA
GHSA-44qp-5pm8-6j8p: An issue was discovered in Roundcube Webmail before 1
ghsa_unreviewed·2022-05-24
CVE-2020-13965 [MEDIUM] CWE-79 GHSA-44qp-5pm8-6j8p: An issue was discovered in Roundcube Webmail before 1
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.
OSV
CVE-2020-13965: An issue was discovered in Roundcube Webmail before 1
osv·2020-06-09·CVSS 6.1
CVE-2020-13965 [MEDIUM] CVE-2020-13965: An issue was discovered in Roundcube Webmail before 1
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.
VulnCheck
Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability
vulncheck·2020·CVSS 6.1
CVE-2020-13965 [MEDIUM] CWE-80 Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability
Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability
Roundcube Webmail contains a cross-site scripting (XSS) vulnerability that allows a remote attacker to manipulate data via a malicious XML attachment.
Affected: Roundcube Roundcube Webmail
Required Action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Exploitation References: https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json; https://www.maverits.com/post/apt28-the-long-hand-of-russian-interests
Remediation Due: 2024-07-17
Suricata
ET WEB_SPECIFIC_APPS Roundcube XSS via Malicious XML Attachment (CVE-2020-13965)
suricata·2025-02-05·CVSS 6.1
CVE-2020-13965 [MEDIUM] ET WEB_SPECIFIC_APPS Roundcube XSS via Malicious XML Attachment (CVE-2020-13965)
ET WEB_SPECIFIC_APPS Roundcube XSS via Malicious XML Attachment (CVE-2020-13965)
Rule: alert smtp any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Roundcube XSS via Malicious XML Attachment (CVE-2020-13965)"; flow:established,to_server; content:"Content-Type|3a 20|text/xml|3b 20|name|3d 22|"; content:".xml|22|"; within:50; content:"Content-Disposition|3a 20|inline|3b 20|filename|3d 22|"; content:".xml|22|"; within:50; content:"|3c|"; distance:0; content:"|3a|script|20|xmlns|3a|"; within:50; fast_pattern; content:"|2f|xhtml|22 3e|"; within:150; content:"|3a|script|3e|"; within:400; reference:url,github.com/mbadanoiu/CVE-2020-13965; reference:cve,2020-13965; classtype:web-application-attack; sid:2059898; rev:1; metadata:affected_product Roundcube, attack_target Web_Server, tls_state plai
No public exploits indexed.
Bugzilla
CVE-2020-13965 roundcubemail: XSS via a malicious XML attachment
bugzilla·2020-06-18·CVSS 6.1
CVE-2020-13965 [MEDIUM] CVE-2020-13965 roundcubemail: XSS via a malicious XML attachment
CVE-2020-13965 roundcubemail: XSS via a malicious XML attachment
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.
Upstream Commit:
https://github.com/roundcube/roundcubemail/commit/884eb611627ef2bd5a2e20e02009ebb1eceecdc3
Discussion:
Created roundcubemail tracking bugs for this issue:
Affects: epel-all [bug 1848340]
Affects: fedora-all [bug 1848339]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
Bugzilla
CVE-2020-13965 roundcubemail: XSS via a malicious XML attachment [fedora-all]
bugzilla·2020-06-18·CVSS 6.1
CVE-2020-13965 [MEDIUM] CVE-2020-13965 roundcubemail: XSS via a malicious XML attachment [fedora-all]
CVE-2020-13965 roundcubemail: XSS via a malicious XML attachment [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions
Bugzilla
CVE-2020-13965 roundcubemail: XSS via a malicious XML attachment [epel-all]
bugzilla·2020-06-18·CVSS 6.1
CVE-2020-13965 [MEDIUM] CVE-2020-13965 roundcubemail: XSS via a malicious XML attachment [epel-all]
CVE-2020-13965 roundcubemail: XSS via a malicious XML attachment [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of
https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-13965-Cross%20Site-Scripting%20via%20Malicious%20XML%20Attachment-Roundcubehttps://github.com/roundcube/roundcubemail/commit/884eb611627ef2bd5a2e20e02009ebb1eceecdc3https://github.com/roundcube/roundcubemail/compare/1.4.4...1.4.5https://github.com/roundcube/roundcubemail/releases/tag/1.3.12https://github.com/roundcube/roundcubemail/releases/tag/1.4.5https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLESQ4LPJGMSWHQ4TBRTVQRDG7IXAZCW/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODPJXBHZ32QSP4MYT2OBCALYXSUJ47SK/https://roundcube.net/news/2020/06/02/security-updates-1.4.5-and-1.3.12https://www.debian.org/security/2020/dsa-4700https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-13965-Cross%20Site-Scripting%20via%20Malicious%20XML%20Attachment-Roundcubehttps://github.com/roundcube/roundcubemail/commit/884eb611627ef2bd5a2e20e02009ebb1eceecdc3https://github.com/roundcube/roundcubemail/compare/1.4.4...1.4.5https://github.com/roundcube/roundcubemail/releases/tag/1.3.12https://github.com/roundcube/roundcubemail/releases/tag/1.4.5https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DLESQ4LPJGMSWHQ4TBRTVQRDG7IXAZCW/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODPJXBHZ32QSP4MYT2OBCALYXSUJ47SK/https://roundcube.net/news/2020/06/02/security-updates-1.4.5-and-1.3.12https://www.debian.org/security/2020/dsa-4700https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-13965
2020-06-09
Published
2024-06-26
Added to CISA KEV
Exploited in the wild