CVE-2023-5631
CONFIRMED EXPLOITEDRoundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability
Is Roundcube Webmail affected by CVE-2023-5631?
Roundcube Webmail is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2023-5631, added on 2023-10-26. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (7 vulnerable CPE entries): debian debian_linux, fedoraproject fedora and roundcube webmail.
Published CPE version bounds mark releases below 1.6.4 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2023-11-16.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2025-68461Same productRoundcube Webmail
RoundCube Webmail Cross-site Scripting Vulnerability
- CVE-2025-49113Same productRoundcube Webmail
RoundCube Webmail Deserialization of Untrusted Data Vulnerability
- CVE-2024-42009Same productRoundcube Webmail
RoundCube Webmail Cross-Site Scripting Vulnerability
- CVE-2024-37383Same productRoundcube Webmail
RoundCube Webmail Cross-Site Scripting (XSS) Vulnerability
- CVE-2023-20273Neighboring entryCisco Cisco IOS XE Web UI
Cisco IOS XE Web UI Command Injection Vulnerability
- CVE-2023-46747Neighboring entryF5 BIG-IP Configuration Utility
F5 BIG-IP Configuration Utility Authentication Bypass Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Roundcube Webmail contains a persistent cross-site scripting (XSS) vulnerability that allows a remote attacker to run malicious JavaScript code.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2023-10-26. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Webmail has been compromised.
- Scope Change (S:C) in CVSS vector: exploitation can cross trust boundaries beyond the vulnerable component itself (e.g., container/sandbox/hypervisor escape or downstream host impact).
- Mail / messaging surface (Roundcube Webmail): inspect MTA transaction and authentication logs (`/var/log/mail.log`, Exchange message tracking), `Zeek smtp.log` / `ssl.log`, and webmail access logs for anomalous auth sequences or unexpected child processes.
- Inventory all hosts running Roundcube Webmail and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- http://www.openwall.com/lists/oss-security/2023/11/01/1Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2023/11/01/3Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2023/11/17/2Mailing ListThird Party Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079Mailing ListPatch
- https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31dPatch
- https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613Patch
- https://github.com/roundcube/roundcubemail/issues/9168ExploitIssue Tracking
- https://github.com/roundcube/roundcubemail/releases/tag/1.4.15Release Notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.5Release Notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.4Release Notes
- https://lists.debian.org/debian-lts-announce/2023/10/msg00035.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/Mailing List
- https://roundcube.net/news/2023/10/16/security-update-1.6.4-releasedRelease Notes
- https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15Release Notes
- https://www.debian.org/security/2023/dsa-5531Mailing List
- http://www.openwall.com/lists/oss-security/2023/11/01/1Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2023/11/01/3Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2023/11/17/2Mailing ListThird Party Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079Mailing ListPatch
- https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31dPatch
- https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613Patch
- https://github.com/roundcube/roundcubemail/issues/9168ExploitIssue Tracking
- https://github.com/roundcube/roundcubemail/releases/tag/1.4.15Release Notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.5Release Notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.4Release Notes
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting