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

Medium severity, CVSS 5.4. Actively exploited: in CISA KEV since 2023-10-26. EPSS: 3.7% probability of exploitation activity in the next 30 days.

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.

What to do

CISA's required action (US federal agencies, by 2023-11-16): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Roundcube Webmail, before 1.4.15: fixed in 1.4.15
  • Roundcube Webmail, from 1.5.0, before 1.5.5: fixed in 1.5.5
  • Roundcube Webmail, from 1.6.0, before 1.6.4: fixed in 1.6.4

Affected products

Published 2023-10-18. Last modified 2026-06-17.