Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🛡️
CISA KEV · ACTIVELY EXPLOITED
MEDIUM severity

CVE-2023-5631 — roundcubemail

MEDIUMFix: roundcube/roundcubemail@41756cc

CVE-2023-5631 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2023-10-26) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.

Stored XSS vulnerability in Roundcube

Also known asBIT-roundcube-2023-5631
Published
Updated
Affected
3 products
Patched
See advisory
Exploits
3 known
Exploitation data as of Oct 23, 2026 · OSV.dev, NVD, CISA KEV, FIRST.org (EPSS)

Exploitation Status

Actively exploited in the wild

  • Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2023-10-26. Federal agencies were required to remediate by 2023-11-16.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2023-5631.

EPSS Exploitation Probability

via FIRST.org ↗
76.9%probability of exploitation in next 30 days
Very High Risk+1.03%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
73.6%77.6%81.6%85.6%83.3%83.2%75.9%75.9%76.9%Apr 26Sep 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2023-5631 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 395,249 CVEs with a current EPSS score, this one falls in the 50–90% band (highlighted). Counts from FIRST.org, log-scaled.

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.

Affected Products

3 products · 7 configurations
OS
debian linuxdebian
3 versions
10.011.012.0
OS
fedorafedoraproject
1 version
39
Application
webmailroundcube
≥ 1.6.0 && < 1.6.4
range
Exploits & PoCs
3

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Fix

    Upgrade the affected component to the fixed release for CVE-2023-5631, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2023-5631 in your dependencies?

Find it across , including transitive dependencies.

CVE-2023-5631: roundcubemail XSS (Medium 6.1, KEV)