Skip to main content
ExploitedIn CISA KEVFix available

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?

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 UTC
  1. 2023-10-1815:15CVE publishedNVD
  2. 2023-10-26Added to the CISA KEV catalogCISA KEV
  3. 2023-10-26Listed as exploited by GCVEGCVE
  4. 2023-10-26Exploitation first reportedCISA KEV
  5. 2023-11-1516:39SSVC exploitation set to activeCISA-ADP
  6. 2026-12-0204:55EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD · OSV
Debian debian linux
BranchAffectedFixed in
10.0= 10.0no fix published
11.0= 11.0no fix published
12.0= 12.0no fix published
Roundcube webmail
BranchAffectedFixed in
1.6≥ 1.6.0, < 1.6.41.6.4
1.5≥ 1.5.0, < 1.5.51.5.5
1.4< 1.4.151.4.15
Fedoraproject fedora
BranchAffectedFixed in
39.x= 39no fix published

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

Full record on NVD

Fix

  1. 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

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
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

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?

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.

Is CVE-2023-5631 actively exploited?

Yes. CVE-2023-5631 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2023-11-16.

What is the CVSS score for CVE-2023-5631?

CVE-2023-5631 has a CVSS v3 base score of 5.4 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

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

Sources for this record