CVE-2023-5631
CVE-2023-5631 — Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability
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.
Published Updated Sources: NVD, CISA, FIRST EPSS, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Oct 26, 2023
EPSS
4%
ahead of 90% of scored CVEs
CVSS base
5.4
medium · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Webmail to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Federal deadline Nov 16, 2023 — passed 1,114 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Roundcube | webmail | n/a | Vulnerable |
| Debian | debian linux | 10.0 | Vulnerable |
| Fedoraproject | fedora | 39 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
None
Confidentiality
Low
Integrity
Low
Scope
Changed
Attack Complexity
Low
Attack Vector
Network
Privileges Req
Low
User Interaction
Required
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.1 | CVSS 3.1 | medium | 2.8 | 2.7 | eset.com (CNA) |
| 5.4 | CVSS 3.1 | medium | 2.3 | 2.7 | NVD |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Bypass Protection Mechanism
- Read Application Data
- Execute Unauthorized Code or Commands
Mitigation: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples of libraries and frameworks that make it easier to generate properly encoded output include Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module, and Apache Wicket.
Weakness & attack patterns
- CWE-79Cross-site Scripting
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Oct 26, 2023
Federal deadline
Nov 16, 2023
passed 1,114 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
6
2 of the 5 sampled are weaponized
Exploit entries
5
Exploit-DB and CTI exploit indexes
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /lib/Roundcube/rcube_washtml.php.
- Prioritize edge telemetry for network-reachable Webmail, Debian Linux, Fedora.
- Monitor for scanner or exploit-pattern traffic after 11 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- hostnamerecsecas.com71
Maltrail Malware Feeds · Oct 25, 2023
- ip38.180.76.3118
usom.phishing-General-List · Oct 27, 2023
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 5.4 (AV:N)
Jun 17, 2026 · NVD
- 2025
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on NIST.
Oct 16, 2025 · SOCRadar CTI
Bulletin released on NIST.
Jan 28, 2025 · SOCRadar CTI
- 2024
CVE is exploited. "soreta2/CVE-2023-5631-POC"
Apr 6, 2024 · SOCRadar CTI
CVE is exploited. "greandfather/EXPLOIT-Roundcube-vulnerability-POC-CVE-2023-5631-"
Mar 9, 2024 · SOCRadar CTI
CVE is exploited. "Ostorlab/KEV"
Jan 13, 2024 · SOCRadar CTI
CVE is exploited. "whitfieldsdad/cisa_kev"
Jan 13, 2024 · SOCRadar CTI
- 2023
Bulletin released on NIST.
Nov 17, 2023 · SOCRadar CTI
Added to CISA KEV catalog
Oct 26, 2023 · CISA
Initial · CVE published
Oct 18, 2023 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 7×SVRS was changedNov 14, 2023 – Apr 6, 2024 · SOCRadar CTI
- 5×ModifiedFeb 13, 2025 – Oct 30, 2025 · SOCRadar CTI
- 5×Github ReposJan 9, 2024 – Apr 5, 2024 · SOCRadar CTI
- 4×Tweets · 1 times tweetedNov 11, 2023 – Feb 21, 2024 · SOCRadar CTI
References
17 on the record
- www.openwall.com/lists/oss-security/2023/11/01/1
Mailing List, Third Party Advisory, NIST
- www.openwall.com/lists/oss-security/2023/11/01/3
Mailing List, Third Party Advisory, NIST
- www.openwall.com/lists/oss-security/2023/11/17/2
Mailing List, Third Party Advisory, NIST
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079
Mailing List, Patch, NIST
- github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d
Patch, NIST
- github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613
Patch, NIST
- github.com/roundcube/roundcubemail/issues/9168
Exploit, Issue Tracking, NIST
- github.com/roundcube/roundcubemail/releases/tag/1.4.15
Release Notes, NIST
Coverage
6 stories from the feeds we poll
Critical Roundcube Flaw Under Active Exploitation in Code Injection Attacks
cysecurity.news · Sep 25, 2026
Hackers now exploit critical Roundcube flaw in code injection attacks - BleepingComputer
bleepingcomputer.com · Sep 24, 2026
Hackers now exploit critical Roundcube flaw in code injection attacks - BleepingComputer
bleepingcomputer.com · Sep 24, 2026
CISA Orders Urgent Patching of Actively Exploited Roundcube Flaws
securereading.com · Feb 23, 2026
CISA: Recently patched RoundCube flaws now exploited in attacks - BleepingComputer
bleepingcomputer.com · Feb 23, 2026
1 more reports on this CVEShowing 5 of 6 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-32433 Erlang Erlang/OTP SSH Server Missing Authentication for Critical Function VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-24201 Apple Multiple Products WebKit Out-of-Bounds Write VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2022-0543 Debian-specific Redis Server Lua Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2024-9680 Mozilla Firefox Use-After-Free VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-44026 Roundcube Webmail SQL Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-1871 Apple iOS, iPadOS, and macOS WebKit Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Roundcubeevery CVE for this vendor
- Debianevery CVE for this vendor
- Fedoraprojectevery CVE for this vendor
- webmailevery page on this product
- debian linuxevery page on this product
- October 2023what else CISA listed
- Cross-site Scriptingsame class
- CWE-79other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 2 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2023-5631 is Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability, a medium vulnerability affecting Webmail, Debian Linux, Fedora from Roundcube, Debian, Fedoraproject. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 11 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 5.4 describes technical severity, while EPSS 4% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.