Home / Roundcube / Roundcubemail / CVE-2023-5631
CVE-2023-5631: is it exploited, and which versions of Roundcubemail are affected and fixed?
CVE-2023-5631 is a cross-site scripting (XSS) vulnerability in Roundcubemail, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on October 26, 2023, with a federal due date of November 16, 2023. Affected: Roundcubemail from 1.6.0 before 1.6.3, Roundcubemail from 1.5.0 before 1.5.4 and Roundcubemail from 1.4.0 before 1.5.14 (CVE record by ESET). Fixed in 1.6.3, 1.5.4, 1.5.14, 1.6.4 and 2 more (CVE record by ESET). Severity: Medium (6.1, CVSS 3.1, from ESET).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2023-5631?
Stored XSS vulnerability in Roundcube
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.
From the CVE record by ESET, last updated October 21, 2025, 23:05 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Roundcube | Roundcubemail | from 1.6.0 before 1.6.3 from 1.5.0 before 1.5.4 from 1.4.0 before 1.5.14 | 1.6.3, 1.5.4, 1.5.14, 1.6.4, 1.5.5, 1.5.15 |
As the CVE record by ESET states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| roundcube | webmail | before 1.4.15 | application |
| roundcube | webmail | from 1.5.0 before 1.5.5 | application |
| roundcube | webmail | from 1.6.0 before 1.6.4 | application |
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| debian | debian linux | 12.0 | operating system |
| fedoraproject | fedora | 39 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 06:48 UTC.
How severe is CVE-2023-5631?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | ESET |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-5631 exploited in the wild?
- CISA KEV
- Listed as Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability, added October 26, 2023; federal agencies must act by November 16, 2023
- Required action
- Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Ransomware use
- Unknown
- CISA's summary
- Roundcube Webmail contains a persistent cross-site scripting (XSS) vulnerability that allows a remote attacker to run malicious JavaScript code.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, November 15, 2023)
- EPSS
- 76.3% probability of exploitation activity in the next 30 days, percentile 99.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.4
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.5
- https://github.com/roundcube/roundcubemail/releases/tag/1.4.15
- https://github.com/roundcube/roundcubemail/issues/9168
- https://roundcube.net/news/2023/10/16/security-update-1.6.4-released
- https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d
- https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079
- https://www.debian.org/security/2023/dsa-5531
- https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html
- http://www.openwall.com/lists/oss-security/2023/11/01/1
- http://www.openwall.com/lists/oss-security/2023/11/01/3
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/
- http://www.openwall.com/lists/oss-security/2023/11/17/2
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-5631 government-resource
Who found and reported it?
- Matthieu Faou (finder)
- Denys Klymenko (finder)
- Aleksander Machniak (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 18, 2023
- Published
- October 18, 2023, 14:51 UTC
- CVE record updated
- October 21, 2025, 23:05 UTC by ESET
- NVD
- Analyzed, last modified June 17, 2026, 06:48 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
Questions about CVE-2023-5631
Is CVE-2023-5631 exploited in the wild?
Yes. CISA added CVE-2023-5631 to its Known Exploited Vulnerabilities catalog on October 26, 2023 and set federal agencies a due date of November 16, 2023. FIRST's EPSS gives it a 76.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Roundcubemail are affected by CVE-2023-5631?
Roundcubemail from 1.6.0 before 1.6.3, Roundcubemail from 1.5.0 before 1.5.4 and Roundcubemail from 1.4.0 before 1.5.14, per the CVE record by ESET. The tables above give every range the sources list.
Which version fixes CVE-2023-5631?
1.6.3, 1.5.4, 1.5.14, 1.6.4, 1.5.5 and 1.5.15, per the CVE record by ESET. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-5631?
Medium (6.1, CVSS 3.1, from ESET). The severity table above shows each score with its source.
Where is the official record of CVE-2023-5631?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.