# CVE-2023-5631: Roundcube Webmail Persistent Cross-Site Scripting (XSS) Vulnerability

Source: https://junglewise.ai/threats/cve-2023-5631-roundcube-webmail-persistent-cross-site-scripting-xss  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-10-26. Updated: 2026-05-09  
License: CC BY 4.0 with a link back

CVE-2023-5631 · Severity: critical · CVSS 5.4 · Exploited in the wild · Published 2023-10-26

Roundcube Webmail contains a stored cross-site scripting (XSS) vulnerability in the rcube_washtml.php component. A remote attacker can execute arbitrary JavaScript code by sending a specially crafted HTML email message containing a malicious SVG document.

Technologies: [Roundcube Webmail](https://junglewise.ai/threats/technologies/webmail). Vendors: [Roundcube](https://junglewise.ai/threats/vendors/roundcube).

## Quick answers

**Is CVE-2023-5631 exploited in the wild?** Yes. CVE-2023-5631 is known to be exploited in the wild, first recorded on 26 October 2023. Treat it as urgent.

**How severe is CVE-2023-5631?** Critical severity, with a CVSS score of 5.4, published 26 October 2023.

**Which products and versions are affected?** Roundcube Roundcube Webmail before 1.4.15, 1.5.x before 1.5.5, 1.6.x before 1.6.4.

**Is there a fix for CVE-2023-5631?** A patch was published on 2023-10-16: Vendor released versions 1.6.4, 1.5.5, and 1.4.15 to address the vulnerability. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2023-5631 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2023-5631?** Check whether you run Roundcube Webmail. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Roundcube Roundcube Webmail before 1.4.15, 1.5.x before 1.5.5, 1.6.x before 1.6.4

## Timeline

- 2023-10-16: patched: Vendor released versions 1.6.4, 1.5.5, and 1.4.15 to address the vulnerability.
- 2023-10-26: disclosed: CVE published and added to CISA KEV catalog.
- 2023-10-26: kev added: Added to CISA's Known Exploited Vulnerabilities Catalog.
- 2023-10-26: exploited: Reported as exploited in the wild.

## Related threats

- [Roundcube Webmail improper authentication in multi-host installations](https://junglewise.ai/threats/cve-2026-114732-roundcube-webmail-before-1-6-20-and-1-7-x-before-1-7-5-is)
- [Roundcube Webmail uncontrolled resource consumption in CSS proxy](https://junglewise.ai/threats/cve-2026-114731-roundcube-webmail-before-1-6-20-and-1-7-x-before-1-7-5-is)
- [Roundcube Webmail server-side request forgery filter bypass](https://junglewise.ai/threats/cve-2026-114730-roundcube-webmail-1-6-14-before-1-6-20-and-1-7-0-before-1-7-5-is)
- [Roundcube Webmail content blocking bypass via SVG SMIL](https://junglewise.ai/threats/cve-2026-114729-roundcube-webmail-before-1-6-20-and-1-7-x-before-1-7-5-is)
- [Roundcube Webmail remote content blocking bypass in CSS FuncIRI handling](https://junglewise.ai/threats/cve-2026-114728-roundcube-webmail-before-1-6-20-and-1-7-x-before-1-7-5-is)
