CVE-2023-5631

CVE-2023-5631 is a medium-severity vulnerability in Roundcube Webmail with a CVSS 3.x base score of 6.1. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2023-10-26). The underlying weakness is classified as CWE-79.

Key facts

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.

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.
How severe is CVE-2023-5631?
CVE-2023-5631 has a CVSS 3.x base score of 6.1, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2023-5631 being actively exploited?
Yes. CVE-2023-5631 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2023-10-26, which means active exploitation has been confirmed. It should be prioritised for remediation.
What products are affected by CVE-2023-5631?
CVE-2023-5631 primarily affects Roundcube Webmail. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2023-5631?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
Does CVE-2023-5631 have an EU (EUVD) identifier?
Yes. CVE-2023-5631 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2023-57924. It is also flagged as exploited in the EUVD (since 2023-10-26).
When was CVE-2023-5631 published?
CVE-2023-5631 was published on 2023-10-18 and last updated on 2026-06-17.

References

Affected products (5)

More vulnerabilities in Roundcube Webmail

All CVEs affecting Roundcube Webmail →

Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities

Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →