BreachSpiderVerified, not vibes

CVE-2023-5631 in Debian Linux and 2 more products

Known-exploited (CISA) since 2023-10-26 Medium 5.4

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.

Affects 3 products from 3 vendors. Facts below cite their sources.

CVSS 3.15.4
EPSS3.7%
EPSS percentile90th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0 11.0 12.0
Fedoraproject Fedora 39
Roundcube Webmail < 1.4.15 ≥ 1.5.0, < 1.5.5 ≥ 1.6.0, < 1.6.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedYes added 2023-10-26
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-5631
BreachSpider IDBS-2023-GLOBAL-178160-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Published2023-10-18
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-79: Cross-Site Scripting (XSS)

Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.

Related attack patterns (CAPEC)

CAPEC-85 AJAX Footprinting via CWE-79

CAPEC-209 XSS Using MIME Type Mismatch via CWE-79

CAPEC-588 DOM-Based XSS via CWE-79

CAPEC-591 Reflected XSS via CWE-79

CAPEC-592 Stored XSS via CWE-79

Show all 6

CAPEC-63 Cross-Site Scripting (XSS) via CWE-79

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2023-5631 affects Roundcube email clients prior to versions 1.4.15, 1.5.5, and 1.6.4, allowing a remote attacker to execute stored XSS via a crafted SVG document in an HTML email. This vulnerability has a CVSS score of 5.4 and is listed in the KEV catalog, indicating a significant risk to web-based email systems used in ICS/OT environments.

A remote attacker can exploit this vulnerability by sending a specially crafted HTML email containing a malicious SVG document. When the email is opened, the SVG document can execute arbitrary JavaScript code in the context of the user's browser, potentially leading to further attacks such as session hijacking or data exfiltration.

Compensating controls AI-drafted, review before use

Implement strict Content Security Policy (CSP) headers to restrict the sources of scripts and other content that can be loaded within the Roundcube application.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2023-5631?

CVE-2023-5631 affects Roundcube email clients prior to versions 1.4.15, 1.5.5, and 1.6.4, allowing a remote attacker to execute stored XSS via a crafted SVG document in an HTML email. This vulnerability has a CVSS score of 5.4 and is listed in the KEV catalog, indicating a significant risk to web-based email systems used in ICS/OT environments.

What is the CVSS score for CVE-2023-5631?

CVE-2023-5631 has CVSS 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N. EPSS: 3.7%.

Is CVE-2023-5631 actively exploited?

Yes. CVE-2023-5631 is in the CISA known-exploited catalog (added 2023-10-26). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2023-5631?

Priority: MEDIUM.

What systems are affected by CVE-2023-5631?

CVE-2023-5631 affects Debian Debian Linux; Fedoraproject Fedora; Roundcube Webmail.

What NERC-CIP standard applies to CVE-2023-5631?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to electronic security perimeters, which can compromise the integrity and confidentiality of critical assets.

What IEC 62443 requirement maps to CVE-2023-5631?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves the protection against malicious software and unauthorized access, which is essential for maintaining the security of ICS/OT systems.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.