CVE-2020-13965: Roundcube Webmail Cross-Site Scripting (XSS)
Roundcube Webmail · listed in the CISA catalog of actively exploited vulnerabilities since 2024-06-26.
- CVSS v3.1 (CVE record)
- 6.1
- medium
- EPSS (exploit probability, 30 days)
- 77%
- higher than 99.5% of all CVEs
- Added to CISA KEV
- 2024-06-26
- US federal due date 2024-07-17
- Ubuntu priority
- high
CVE-2020-13965 explained
CVE-2020-13965 is a cross-site scripting (XSS) flaw in Roundcube Webmail before 1.3.12 and 1.4.x before 1.4.5. Because text/xml is among the allowed types for attachment preview, a malicious XML attachment can run script in the user's browser. CISA lists it as known exploited, so affected webmail servers should be patched promptly.
Impact
A remote attacker needs no account or privileges. The attack works over the network, but a user must interact with a malicious XML attachment. Script then runs in the context of the webmail session. The scope is changed, with low impact on confidentiality and integrity and no impact on availability. Possible results include reading or altering data visible to the victim in Roundcube.
Who is affected
The roundcube source package is affected on Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. Fixed versions exist for all three, but only through Ubuntu Pro (ESM): 1.2~beta+dfsg.1-0ubuntu1+esm2 for 16.04, 1.3.6+dfsg.1-1ubuntu0.1~esm2 for 18.04 and 1.4.3+dfsg.1-1ubuntu0.1~esm1 for 20.04. Ubuntu 16.04 LTS is end of life. Standard support has ended for 18.04 and 20.04.
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA notes
Upstream versions (CVE record)
Version ranges from CISA's enrichment of the CVE record (CPE-based); the record itself lists none.
- roundcube webmailAffectedFixed in
- < 1.3.12
- ≥ 1.4.0, < 1.4.5
not statedVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none.
| Product | Affected | Fixed in |
|---|---|---|
| roundcube webmailVersion ranges from CISA ADP enrichment (CPE-based); the CNA record has none. |
| not stated |
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 20.04 LTS·roundcube
fix via Ubuntu Pro
Fixed: 1.4.3+dfsg.1-1ubuntu0.1~esm1
Ubuntu 18.04 LTS·roundcube
fix via Ubuntu Pro
Fixed: 1.3.6+dfsg.1-1ubuntu0.1~esm2
Ubuntu 16.04 LTS·roundcube
fix via Ubuntu Pro
Fixed: 1.2~beta+dfsg.1-0ubuntu1+esm2
What to do
- Identify all hosts running the
roundcubepackage and check the installed version. - Enable Ubuntu Pro (ESM) on affected Ubuntu 16.04, 18.04 and 20.04 systems to get the fixed packages.
- Update
roundcubeto the fixed version listed for your release. - Restart the web server or PHP service so the updated code is loaded.
- Plan an upgrade to a supported release, especially for end-of-life Ubuntu 16.04 LTS.
Written with AI from the data on this page and checked against it automatically.
Check and fix on a server
Run on each Ubuntu or Debian server. Replace roundcube with the source package from the table above.
1. Show installed packages built from the source package, with their versions
dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="roundcube"'2. Compare each installed version with the fixed version for your release from the table
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the fix
sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="roundcube"{print $1}')Services keep running the old code until they are restarted – restart the affected service or check with needrestart.
Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Partial – limited control or information
Weakness: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Questions about CVE-2020-13965
- Why is this considered urgent if the CVSS severity is medium?
- CISA added it to its Known Exploited Vulnerabilities catalog on 2024-06-26, meaning it has been exploited in practice. Ubuntu rates its priority as high.
- Can I get the fix without Ubuntu Pro?
- No. For Ubuntu 16.04 LTS, 18.04 LTS and 20.04 LTS, the fixed
roundcubepackages are published only through Ubuntu Pro (ESM). - Do users need to do anything for the attack to work?
- Yes. User interaction is required. The victim must interact with a malicious XML attachment, for example by previewing it in Roundcube.
Written with AI from the data on this page and checked against it automatically.
References
Vendor
Other advisories
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.