CVE-2026-137943

Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 XSS in HTML Editor via text/enriched Content

Published Nov 27, 2026 CVSS 4.0 · 5.1 Medium EPSS n/a KEV · Not listed
Description
Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains a cross-site scripting vulnerability in compose_part_body() in program/actions/mail/compose.php, which converts a text/enriched message part to HTML for the HTML editor without sanitizing the result. Attackers can send a crafted email with a text/enriched part so that script injected into the HTML editor runs in the victim's session when the victim replies to, forwards, or edits the message.

Analysis

AI-generated

Technical impact

Roundcube Webmail versions prior to 1.6.19 and 1.7.x before 1.7.4 contain a cross‑site scripting flaw that fails to sanitize text or enriched mail content when converting it to HTML for the web‑based editor. An attacker can craft an email that includes malicious script in a text/enriched part; when the victim opens the message to reply, forward or edit it, the script is injected into the HTML editor and executed in the context of the victim’s browser session, enabling session hijacking or other client‑side attacks.

Affected Systems

The affected products are Roundcube Webmail implementations running any version earlier than 1.6.19, or any 1.7.x build earlier than 1.7.4. No other vendors or products are listed in the advisory.

Risk and Exploitability

The CVSS score of 5.1 rates the vulnerability as medium severity, indicating that local client‑side exploitation is possible but not highly destructive. No EPSS score is available, and the issue is not listed in the CISA KEV catalog, suggesting limited known exploitation data. The likely attack vector is remote: an attacker sends a malicious email to a target, who opens it in their webmail session, triggering the vulnerability without needing privileges on the mail server.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Roundcube to version 1.6.19 or later, or to 1.7.4 or later in the 1.7.x line; the vendor’s patch eliminates the XSS flaw.
  • If an immediate upgrade is not feasible, configure the server to disable automatic conversion of text/enriched parts to HTML in the compose editor, or block such parts entirely so that the XSS vector is removed.
  • Apply a strict Content Security Policy that disallows inline scripts in the webmail editor, and enforce server‑side input sanitization to strip any <script> tags from enriched content where possible.

Generated by OpenCVE AI on November 27, 2026 at 15:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Roundcube
Roundcube roundcube Webmail
Vendors & Products Roundcube
Roundcube roundcube Webmail
Type Values Removed Values Added
Description Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains a cross-site scripting vulnerability in compose_part_body() in program/actions/mail/compose.php, which converts a text/enriched message part to HTML for the HTML editor without sanitizing the result. Attackers can send a crafted email with a text/enriched part so that script injected into the HTML editor runs in the victim's session when the victim replies to, forwards, or edits the message.
Title Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 XSS in HTML Editor via text/enriched Content
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
AISLE
Published
Updated
Nov 27, 2026, 1:45 PM
Reserved
Nov 27, 2026, 1:45 PM
Status
Received
Published
Nov 27, 2026, 2:17 PM
Modified
Nov 27, 2026, 2:17 PM