CVE-2023-5631
Exploitation confirmed. First attested on 2023-10-26 by CISA-ADP, CISA KEV, GCVE · previdian.
- Published2023-10-18
- WeaknessCWE-79
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCVersions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| 12.0 | = 12.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.6 | ≥ 1.6.0, < 1.6.4 | 1.6.4 | NVD · OSV |
| 1.5 | ≥ 1.5.0, < 1.5.5 | 1.5.5 | NVD · OSV |
| 1.4 | < 1.4.15 | 1.4.15 | NVD · OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 39.x | = 39 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As ESET, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Roundcubemailother versions: not affected
https://github.com/roundcube/roundcubemail
Affected- ≥ 1.6.0, < 1.6.3fixed in 1.6.3semver
- ≥ 1.5.0, < 1.5.4fixed in 1.5.4semver
- ≥ 1.4.0, < 1.5.14fixed in 1.5.14semver
Not affected = 1.6.4 · = 1.5.5 · = 1.5.15
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-11-17
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- roundcubeUbuntu:Pro:22.04:LTSall versions · fixed in 1.5.0+dfsg.1-2ubuntu0.1~esm3
- roundcubeUbuntu:Pro:20.04:LTSall versions · fixed in 1.4.3+dfsg.1-1ubuntu0.1~esm4
- roundcubeUbuntu:Pro:18.04:LTSall versions · fixed in 1.3.6+dfsg.1-1ubuntu0.1~esm4
- roundcubeUbuntu:Pro:16.04:LTSall versions · fixed in 1.2~beta+dfsg.1-0ubuntu1+esm4
- roundcubeDebian:14all versions · fixed in 1.6.4+dfsg-1
- roundcubeDebian:13all versions · fixed in 1.6.4+dfsg-1
- roundcubeDebian:12all versions · fixed in 1.6.4+dfsg-1~deb12u1
- roundcubeDebian:11all versions · fixed in 1.4.15+dfsg.1-1~deb11u1
5 more package ranges on OSV.dev
Vendor advisories
- CVE-2023-5631 Red Hat Product Security
roundcube: cross-site scripting (XSS) vulnerability in handling of SVG in HTML messages
Fix
- CISA’s required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.due 2023-11-16
Advisories and patches
- bugs.debian.orgPatch
- github.comPatch
- github.comPatch
- github.comRelease Notes
- github.comRelease Notes
- github.comRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
CISA Known Exploited Vulnerability
- Date added
- 2023-10-26
- Patch due date
- 2023-11-16
- Ransomware use
- Unknown
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Sources
- CISA KEVKEV entry2023-10-26
- ENISA EUVDexploitation2023-10-262023-10-26
- GCVEexploitation2023-10-26
- CISA-ADPSSVC decisionactive2023-11-15
- CNACVSS 3.16.1known since 2026-10-23
- NVDCVSS 3.15.4read 2026-10-23
- CNAweakness (CWE)CWE-79known since 2026-10-23
- NVDweakness (CWE)CWE-79read 2026-10-23
- FIRST EPSSEPSS score76.3 %read 2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- BIT-roundcube-2023-5631same flawBitnami · Apache-2.0
- EUVD-2023-57924same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-qf8f-27cp-gw76same flawGitHub Advisory Database · CC-BY-4.0
- DLA-3630-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-5531-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2023-0332advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2023:0345-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:13365-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-6848-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Published
- 2023-10-18
- Last modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub advisory
- GHSA-qf8f-27cp-gw76
Frequently asked questions
What is CVE-2023-5631?
Is CVE-2023-5631 actively exploited?
What is the CVSS score for CVE-2023-5631?
Running roundcube? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-49113KEVsame productroundcubemail: Remote Code Execution in Roundcube via Unvalidated _from Parameter
- CVE-2020-12641KEVsame product
- CVE-2025-68461KEVsame product
- CVE-2020-13965KEVsame product
- CVE-2021-44026KEVsame product
- CVE-2023-43770KEVsame product
- CVE-2020-35730KEVsame product
- CVE-2024-42010same product
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-qf8f-27cp-gw76
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0