# CVE-2023-5631: Stored XSS vulnerability in Roundcube

> CVE-2023-5631: Stored XSS vulnerability in Roundcube. CVSS 6.1 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2023-5631
Last updated: 2025-10-21T23:05:34Z

- Published: 2023-10-18 14:51 UTC · Updated: 2025-10-21 23:05 UTC · Assigner: ESET
- CVSS: 6.1 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 76.9%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2023-10-26, federal due date 2023-11-16, ransomware use: Unknown
- CWE: CWE-79

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

## CISA required action

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

## Affected vendors and products

- Roundcube: Roundcubemail

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2023-5631)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2023-5631)
- [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079)
- [https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d](https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d)
- [https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613](https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613)
- [https://github.com/roundcube/roundcubemail/issues/9168](https://github.com/roundcube/roundcubemail/issues/9168)
- [https://github.com/roundcube/roundcubemail/releases/tag/1.4.15](https://github.com/roundcube/roundcubemail/releases/tag/1.4.15)
- [https://github.com/roundcube/roundcubemail/releases/tag/1.5.5](https://github.com/roundcube/roundcubemail/releases/tag/1.5.5)
- [https://github.com/roundcube/roundcubemail/releases/tag/1.6.4](https://github.com/roundcube/roundcubemail/releases/tag/1.6.4)
- [https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html](https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html)
- [https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/)
- [https://roundcube.net/news/2023/10/16/security-update-1.6.4-released](https://roundcube.net/news/2023/10/16/security-update-1.6.4-released)
- [https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15](https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15)
- [https://www.debian.org/security/2023/dsa-5531](https://www.debian.org/security/2023/dsa-5531)
- [http://www.openwall.com/lists/oss-security/2023/11/01/1](http://www.openwall.com/lists/oss-security/2023/11/01/1)
- [http://www.openwall.com/lists/oss-security/2023/11/01/3](http://www.openwall.com/lists/oss-security/2023/11/01/3)
- [http://www.openwall.com/lists/oss-security/2023/11/17/2](http://www.openwall.com/lists/oss-security/2023/11/17/2)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2023-5631 · Markdown: https://rewindex.com/cve/CVE-2023-5631.md · JSON: https://rewindex.com/api/v1/cves/CVE-2023-5631 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:11:22.032Z
