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

- Severity: Medium 6.1 (CVSS:3.1, scored by ESET) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: yes. In CISA's catalogue since 2023-10-26. Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- Likelihood of exploitation in the next 30 days (EPSS): 3.68%, higher than 90% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-18T14:51:18.443Z
- Modified: 2026-06-17T06:48:58.673Z
- Also known as: BIT-ROUNDCUBE-2023-5631
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation active, automatable no, technical impact total
- Assigned by: ESET

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

(As written by CVE List.)

## Affected

- Roundcube Roundcubemail: from 1.6.0 before 1.6.3; from 1.5.0 before 1.5.4; from 1.4.0 before 1.5.14 (not affected: 1.6.4; 1.5.5; 1.5.15)
- roundcube webmail: before 1.4.15; from 1.5.0 before 1.5.5; from 1.6.0 before 1.6.4
- debian debian_linux: 10.0; 11.0; 12.0
- fedoraproject fedora: 39
- roundcube (Bitnami): before 1.4.15; from 1.5.0 before 1.5.5; from 1.6.0 before 1.6.4

## Every score

- ESET: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/roundcube/roundcubemail/issues/9168> (exploit, issue-tracking, web)
- <https://github.com/roundcube/roundcubemail/commit/6ee6e7ae301e165e2b2cb703edf75552e5376613> (patch, web)
- <https://github.com/roundcube/roundcubemail/releases/tag/1.6.4> (release-notes, web)
- <https://github.com/roundcube/roundcubemail/releases/tag/1.5.5> (release-notes, web)
- <https://github.com/roundcube/roundcubemail/releases/tag/1.4.15> (release-notes, web)
- <https://roundcube.net/news/2023/10/16/security-update-1.6.4-released> (kev, release-notes, web)
- <https://github.com/roundcube/roundcubemail/commit/41756cc3331b495cc0b71886984474dc529dd31d> (patch, web)
- <https://roundcube.net/news/2023/10/16/security-updates-1.5.5-and-1.4.15> (kev, release-notes, web)
- <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054079> (mailing-list, patch, web)
- <https://www.debian.org/security/2023/dsa-5531> (mailing-list, web)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00035.html> (mailing-list, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2023/11/01/1> (mailing-list, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2023/11/01/3> (mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LK67Q46OIEGJCRQUBHKLH3IIJTBNGGX4/> (mailing-list, web)
- <http://www.openwall.com/lists/oss-security/2023/11/17/2> (mailing-list, third-party-advisory, web)
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-5631> (government-resource, us-government-resource)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-5631> (kev)

## Sources

- CVE List: [CVE-2023-5631](https://www.cve.org/CVERecord?id=CVE-2023-5631), CVE Terms of Use, modified 2025-10-21
- NVD: [CVE-2023-5631](https://nvd.nist.gov/vuln/detail/CVE-2023-5631), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-ROUNDCUBE-2023-5631](https://osv.dev/vulnerability/BIT-ROUNDCUBE-2023-5631), Apache-2.0, modified 2024-03-06
- CISA KEV: [CVE-2023-5631](https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2023-5631), CC0-1.0, modified 2023-10-26

---

Page: https://cve.day/CVE-2023-5631 · Whole record: https://cve.day/CVE-2023-5631.json · Rebuilt by cve.day 2026-11-25T22:58:28.911Z
