← Vulnerability feed

Vulnerability record · CVE-2020-35730 · published 28 December 2020

CVE-2020-35730: Roundcube Webmail stored XSS via link reference handling

Roundcube · Webmail

Roundcube Webmail mishandles JavaScript inside a link reference element in plain text email, allowing script injection through linkref_addindex in rcube_string_replacer.php. The flaw affects versions before 1.2.13, 1.3.x before 1.3.16, and 1.4.x before 1.4.10. Because webmail is a high-value, browser-facing target, successful exploitation can compromise the mail session of any user who views the crafted message.

6.1 CVSS 3.1 Medium CISA KEV since 22 Jun 2023 EPSS 31% · top 1.3% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score, v2 4.3
31%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
3Affected product versions listed by NVD
19References
17 Jun 2026Last modified by NVD

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.

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 priorityThe flaw is remotely reachable with low complexity, is listed in CISA KEV with a high EPSS score, and targets a widely deployed webmail application, though it requires user interaction and has only medium CVSS severity.

What it is

Roundcube Webmail mishandles JavaScript inside a link reference element in plain text email, allowing script injection through linkref_addindex in rcube_string_replacer.php. The flaw affects versions before 1.2.13, 1.3.x before 1.3.16, and 1.4.x before 1.4.10. Because webmail is a high-value, browser-facing target, successful exploitation can compromise the mail session of any user who views the crafted message.

Impact

An attacker can execute arbitrary JavaScript in the victim's webmail origin, enabling theft of session cookies or credentials, reading of mailbox contents, and actions performed as the victim.

Attack surface

Reached remotely over the network by sending a crafted plain text email to the target; no authentication is required to deliver the message, but the victim must open or view it (UI:R). The CVSS vector is AV:N/AC:L/PR:N/UI:R/S:C.

Exploitation

CVE-2020-35730 is listed in CISA KEV (added 2023-06-22, due 2023-07-13) and has an EPSS 30-day probability of 0.32688 (98.255 percentile), indicating active exploitation in the wild. No ransomware campaign use is documented.

What to do

  • Upgrade Roundcube Webmail to 1.2.13, 1.3.16, 1.4.10 or later, or apply the vendor patch referenced in the 1.4.9 to 1.4.10 comparison.
  • Update distribution packages on Fedora and Debian to the fixed versions announced in the vendor mailing lists.
  • Enforce a strict Content-Security-Policy on the webmail origin to limit script execution impact.
  • Restrict or disable automatic rendering of remote content and links in email where operationally feasible.
  • Monitor vendor advisories and re-check exposure if older Roundcube branches remain deployed.

Detection

  • Search webmail and proxy logs for requests containing suspicious JavaScript or link reference patterns in message rendering paths.
  • Hunt for anomalous outbound requests or session cookie exfiltration from the webmail host following email viewing.
  • Review mail gateway logs for inbound plain text messages with unusual link reference elements targeting Roundcube users.
  • Correlate webmail access logs with known exploitation indicators and alert on unexpected script-like payloads in message bodies.

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-35730 to the Known Exploited Vulnerabilities catalog on 22 June 2023 as "Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 13 July 2023.

Affected products

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

References

LinkTags
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978491 Issue TrackingMailing List
https://github.com/roundcube/roundcubemail/compare/1.4.9...1.4.10 Patch
https://github.com/roundcube/roundcubemail/releases/tag/1.2.13 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.3.16 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.4.10 Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HCEU4BM5WGIDJWP6Z4PCH62 Mailing ListRelease Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HMLIZWKMTRCLU7KZLEQHELS Mailing ListRelease Notes
https://roundcube.net/download/ Product
https://www.alexbirnberg.com/roundcube-xss.html Broken Link
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978491 Issue TrackingMailing List
https://github.com/roundcube/roundcubemail/compare/1.4.9...1.4.10 Patch
https://github.com/roundcube/roundcubemail/releases/tag/1.2.13 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.3.16 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.4.10 Release Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HCEU4BM5WGIDJWP6Z4PCH62 Mailing ListRelease Notes
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HMLIZWKMTRCLU7KZLEQHELS Mailing ListRelease Notes
https://roundcube.net/download/ Product
https://www.alexbirnberg.com/roundcube-xss.html Broken Link
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-35730 US Government Resource

Track CVE-2020-35730 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-13965Roundcube Webmail XSS via malicious XML attachment previewRoundcube 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…KEVEPSS 77%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-35730), CISA KEV, FIRST EPSS (scores of 2026-11-26). This page is refreshed as NVD updates the record.