CVE & CISA-KEV Catalog

CVE-2023-5631

MEDIUMCISA KEVEPSS 99th pctl
6.1
CVSS v3
NVD

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.

How to fix

Remediation Available
roundcubeDebian
Fixed in:1.6.4+dfsg-1~deb12u1CVE-2023-5631
Fixed in:1.6.4+dfsg-1CVE-2023-5631
Fixed in:1.6.4+dfsg-1CVE-2023-5631
roundcubeUbuntu
Fixed in:1.2~beta+dfsg.1-0ubuntu1+esm4USN-6848-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:1.3.6+dfsg.1-1ubuntu0.1~esm4USN-6848-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:1.4.3+dfsg.1-1ubuntu0.1~esm4USN-6848-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:1.5.0+dfsg.1-2ubuntu0.1~esm3USN-6848-1
Fixed in:1.6.2+dfsg-1ubuntu0.2USN-6848-1

This Ubuntu release reached end-of-life on 2024-07-12.

roundcube-coreUbuntu
Fixed in:1.2~beta+dfsg.1-0ubuntu1+esm4USN-6848-1

This Ubuntu release reached end-of-life on 2021-04-02.

Fixed in:1.3.6+dfsg.1-1ubuntu0.1~esm4USN-6848-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

Fixed in:1.4.3+dfsg.1-1ubuntu0.1~esm4USN-6848-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:1.5.0+dfsg.1-2ubuntu0.1~esm3USN-6848-1
Fixed in:1.6.2+dfsg-1ubuntu0.2USN-6848-1

This Ubuntu release reached end-of-life on 2024-07-12.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploit Intelligence

75.87%probability of exploitation in 30 days
99thpercentile

Very high risk: more likely to be exploited than 99% of all known CVEs.

Known Exploited Vulnerability (CISA KEV)

Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability

Roundcube Webmail contains a persistent cross-site scripting (XSS) vulnerability that allows a remote attacker to run malicious JavaScript code.

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Remediation due: 2023-11-16

References

Related Vulnerabilities

Other CWE-79 (Cross-Site Scripting (XSS)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2018-12998Medium6.199%--
CVE-2020-11022Medium6.999%-Fix
CVE-2019-3929Critical9.899%KEVFix
CVE-2020-9496Medium6.199%--
CVE-2023-28341Medium6.199%-Fix
CVE-2021-25299Medium6.198%--

Common questions

How do I fix CVE-2023-5631?

Published advisories record a fix for 3 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2023-5631 being actively exploited?

Yes. CVE-2023-5631 is listed in the CISA Known Exploited Vulnerabilities catalog, which means exploitation has been observed in the wild. US federal agencies were required to remediate it by 2023-11-16. Treat it as a priority whatever its CVSS score says.

How severe is CVE-2023-5631?

CVE-2023-5631 has a CVSS v3 base score of 6.1, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2023-5631 affect?

Published advisories record a fix for roundcube (Debian), roundcube (Ubuntu), roundcube-core (Ubuntu). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2023-5631
CVE-2023-5631 severity badge

Markdown

[![CVE-2023-5631](https://tridentstack.com/cve/badge/CVE-2023-5631.svg)](https://tridentstack.com/cve/CVE-2023-5631)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-5631"><img src="https://tridentstack.com/cve/badge/CVE-2023-5631.svg" alt="CVE-2023-5631"></a>

This vulnerability is actively exploited in the wild

TridentStack Control detects known-exploited CVEs across your Linux fleet and prioritizes their patches. 200 endpoints free forever.

Scan your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.