CVE-2020-35730: Roundcube Webmail Cross-Site Scripting (XSS)
Roundcube Webmail · listed in the CISA catalog of actively exploited vulnerabilities since 2023-06-22.
- CVSS v3.1 (CVE record)
- 6.1
- medium
- EPSS (exploit probability, 30 days)
- 31%
- higher than 98.2% of all CVEs
- Added to CISA KEV
- 2023-06-22
- US federal due date 2023-07-13
- Ubuntu priority
- high
CVE-2020-35730 explained
CVE-2020-35730 is a cross-site scripting (XSS) flaw in Roundcube Webmail before 1.2.13, 1.3.x before 1.3.16, and 1.4.x before 1.4.10. A crafted plain text e-mail with JavaScript in a link reference element is mishandled, so script can run in the recipient's webmail session. CISA lists it as known exploited.
Impact
A remote attacker without credentials can send a crafted plain text e-mail. When a user views it in Roundcube Webmail, injected JavaScript can run in that user's browser in the webmail context. The scope is changed, with low impact on confidentiality and integrity and none on availability. This could expose or alter data the user can reach in webmail. User interaction is required.
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~esm2 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 XSS issue was discovered in Roundcube Webmail before 1.2.13, 1.3.x before 1.3.16, and 1.4.x before 1.4.10. The attacker can send a plain text e-mail message, with JavaScript in a link reference element that is mishandled by linkref_addindex in rcube_string_replacer.php.
CISA required action: Apply updates per vendor instructions.
CISA notes
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~esm2
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 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 receive the fixed packages.
- Update
roundcubeto the fixed version for your release. - Restart the web server or PHP services that serve Roundcube so the updated code is loaded.
- Plan an upgrade to a supported Ubuntu 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-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Questions about CVE-2020-35730
- Is this vulnerability exploited in the wild?
- Yes. CISA added CVE-2020-35730 to its Known Exploited Vulnerabilities catalog on 2023-06-22, with a US federal due date of 2023-07-13. The required action is to apply updates per vendor instructions. Ransomware use is listed as unknown.
- Can I get the fix without Ubuntu Pro?
- No. On Ubuntu 16.04 LTS, 18.04 LTS and 20.04 LTS, the fixed
roundcubepackages are only available through Ubuntu Pro (ESM). Without a subscription, upgrade to a supported release. - Does an attacker need an account on my server?
- No. The attacker only needs to send a crafted plain text e-mail. A user must then view the message in Roundcube Webmail for the script to run.
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.