CVEfocus › CVE database › CVE-2023-5631

CVE-2023-5631Stored XSS vulnerability in Roundcube

Known exploited (CISA KEV)CVSS 6.1 MediumEPSS 3.7% (higher than 90% of CVEs)Published 2023-10-18Updated 2025-10-21Assigner: ESET

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.

CWE-79

What to do

This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2023-10-26). If you run an affected version, patch or mitigate now.

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
5Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10roundcubeNot affected
vulnerable_code_not_present
Ubuntu 22.04roundcubeFix pending1.5.0+dfsg.1-2ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2023-5631
Ubuntu 20.04roundcubeFix pending1.4.3+dfsg.1-1ubuntu0.1~esm4 (Ubuntu Pro)UBUNTU-CVE-2023-5631
Ubuntu 18.04roundcubeFix pending1.3.6+dfsg.1-1ubuntu0.1~esm4 (Ubuntu Pro)UBUNTU-CVE-2023-5631
Ubuntu 16.04roundcubeFix pending
Ubuntu 14.04roundcubeFix pending
Debian 14roundcubeFixed1.6.4+dfsg-1DEBIAN-CVE-2023-5631
Debian 13roundcubeFixed1.6.4+dfsg-1DEBIAN-CVE-2023-5631
Debian 12roundcubeFixed1.6.4+dfsg-1~deb12u1DEBIAN-CVE-2023-5631

What the vendor says

As published in the CVE record by ESET, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.