← Vulnerability feed

Vulnerability record · CVE-2023-5631 · published 18 October 2023

CVE-2023-5631: Roundcube Webmail stored XSS via crafted SVG in HTML email

Roundcube · Webmail

Roundcube 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 stored cross-site scripting payload delivered through an HTML email containing a crafted SVG document. Because the payload is stored in the mailbox, it can execute in the victim's webmail session whenever the message is rendered.

5.4 CVSS 3.1 Medium CISA KEV since 26 Oct 2023 EPSS 76% · top 0.5% CWE-79 · Cross-site scripting
5.4CVSS 3.1 base score
76%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
3Affected product versions listed by NVD
31References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Roundcube before 1.4.15, 1.5.x before 1.5.5, and 1.6.x before 1.6.4 allows stored XSS via an HTML e-mail message with a crafted SVG document because of program/lib/Roundcube/rcube_washtml.php behavior. This could allow a remote attacker to load arbitrary JavaScript code.

CVSS:3.1/AV:N/AC:L/PR:L/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 a stored XSS in a widely deployed webmail product that CISA lists as known exploited with a very high EPSS score, even though the CVSS base score is only 5.4.

What it is

Roundcube 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 stored cross-site scripting payload delivered through an HTML email containing a crafted SVG document. Because the payload is stored in the mailbox, it can execute in the victim's webmail session whenever the message is rendered.

Impact

An attacker can run arbitrary JavaScript in the context of the victim's Roundcube session, enabling session or credential theft and actions performed as the victim. The CVSS vector scopes the impact to low confidentiality and integrity with no availability effect.

Attack surface

Reached remotely over the network by sending an HTML email with a crafted SVG to a Roundcube user; the vector requires low privileges (PR:L) and user interaction (UI:R), meaning the victim must open or view the message for the script to run.

Exploitation

CISA added this to the Known Exploited Vulnerabilities catalog on 2023-10-26 with a 2023-11-16 remediation due date, and EPSS gives a 30-day probability of 0.75873 (99.5th percentile); a reference is tagged Exploit, though no ransomware campaign use is documented.

What to do

  • Upgrade Roundcube to 1.4.15, 1.5.5, or 1.6.4 (or later) as applicable to your branch.
  • Apply the vendor patches referenced in the Roundcube commits and Debian/Fedora advisories if immediate upgrade is not possible.
  • If patching is delayed, follow CISA's required action to apply vendor mitigations or discontinue use of the product.
  • Restrict or disable rendering of remote HTML content and SVG in webmail where policy allows.

Detection

  • Search mail logs and message stores for HTML emails containing SVG content, especially embedded script or event handlers.
  • Monitor webmail access logs for anomalous JavaScript-driven requests or session activity following message viewing.
  • Hunt for known exploit indicators from the referenced GitHub issue and public advisories in inbound mail and webmail telemetry.

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-2023-5631 to the Known Exploited Vulnerabilities catalog on 26 October 2023 as "Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability". Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Federal deadline 16 November 2023.

Affected products

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

References

LinkTags
http://www.openwall.com/lists/oss-security/2023/11/01/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2023/11/01/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2023/11/17/2 Mailing ListThird Party Advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079 Mailing ListPatch
https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d Patch
https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613 Patch
https://github.com/roundcube/roundcubemail/issues/9168 ExploitIssue Tracking
https://github.com/roundcube/roundcubemail/releases/tag/1.4.15 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.5.5 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.6.4 Release Notes
https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/LK67Q46OIEGJCRQUBHKLH3IIJ Mailing List
https://roundcube.net/news/2023/10/16/security-update-1.6.4-released Release Notes
https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15 Release Notes
https://www.debian.org/security/2023/dsa-5531 Mailing List
http://www.openwall.com/lists/oss-security/2023/11/01/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2023/11/01/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2023/11/17/2 Mailing ListThird Party Advisory
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079 Mailing ListPatch
https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d Patch
https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613 Patch
https://github.com/roundcube/roundcubemail/issues/9168 ExploitIssue Tracking
https://github.com/roundcube/roundcubemail/releases/tag/1.4.15 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.5.5 Release Notes
https://github.com/roundcube/roundcubemail/releases/tag/1.6.4 Release Notes
https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/LK67Q46OIEGJCRQUBHKLH3IIJ Mailing List
https://roundcube.net/news/2023/10/16/security-update-1.6.4-released Release Notes
https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15 Release Notes
https://www.debian.org/security/2023/dsa-5531 Mailing List
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-5631 US Government Resource

Track CVE-2023-5631 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.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

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