Description
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a CSS scoping bypass in HTML messages. rcube_utils::mod_css_styles() did not treat an at-rule prologue such as @layer a; as a selector boundary, and did not handle selectors beginning with ::, so selectors following an at-rule were left unscoped and applied to the whole Roundcube interface instead of being confined to the message body. This allows an HTML message to restyle application chrome for UI redressing and spoofing. Upstream fixed this in the commit “Fix CSS scoping bypass in HTML messages using at-rules”.
Published: 2026-10-22
Score: 6.5 Medium
EPSS: n/a
KEV: No
Impact: UI redressing and spoofing via CSS scoping bypass in HTML email
Action: Apply Patch
AI Analysis

Impact

Roundcube Webmail apps before 1.6.20 and 1.7.x before 1.7.5 allow a CSS scoping bypass in email messages. The code failure caused at‑rule prologues such as @layer a; to be treated like a selector boundary, and selectors beginning with :: were not protected, so styles after an at‑rule were applied globally instead of being limited to the message body. As a result a malicious HTML message could restyle the entire interface, enabling UI redressing and spoofing of the application chrome. This is a CSS scoping bypass, a type of CWE-669 vulnerability.

Affected Systems

All Roundcube Webmail deployments operating versions before release 1.6.20 or before release 1.7.5 are susceptible. The default build of Roundcube that ships with a webmail product under those version numbers is affected. No other products or plugins are mentioned as impacted.

Risk and Exploitability

The CVSS score of 6.5 classifies the vulnerability as a moderate risk. EPSS is not available, so no quantified exploitation probability is provided. The issue is not listed in CISA KEV. The likely attack vector is an attacker sending an HTML email that contains at‑rules and selectors targeting the webmail UI; the exploit occurs client‑side when the victim opens or views the message. No authentication or elevated privileges are required beyond typical user access to the mailbox.

Generated by OpenCVE AI on October 22, 2026 at 07:12 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Roundcube to version 1.6.20 or 1.7.5 or later
  • If an upgrade is not immediately possible, configure your mail server to strip or reject messages containing CSS at‑rules (e.g., @layer, @media) before delivery to Roundcube
  • As a temporary measure, disable HTML email rendering in Roundcube or set the display mode to plain text only

Generated by OpenCVE AI on October 22, 2026 at 07:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Title CSS Scoping Bypass in Roundcube Webmail Enables UI Redressing roundcubemail: Roundcube Webmail: Interface spoofing via CSS scoping bypass in HTML messages
Weaknesses CWE-1021
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 22 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
Title CSS Scoping Bypass in Roundcube Webmail Enables UI Redressing

Thu, 22 Oct 2026 02:00:00 +0000

Type Values Removed Values Added
Description Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a CSS scoping bypass in HTML messages. rcube_utils::mod_css_styles() did not treat an at-rule prologue such as @layer a; as a selector boundary, and did not handle selectors beginning with ::, so selectors following an at-rule were left unscoped and applied to the whole Roundcube interface instead of being confined to the message body. This allows an HTML message to restyle application chrome for UI redressing and spoofing. Upstream fixed this in the commit “Fix CSS scoping bypass in HTML messages using at-rules”.
First Time appeared Roundcube
Roundcube webmail
Weaknesses CWE-669
CPEs cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*
Vendors & Products Roundcube
Roundcube webmail
References
Metrics cvssV3_1

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


Subscriptions

Roundcube Webmail
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-22T01:39:43.658Z

Reserved: 2026-10-22T01:39:43.183Z

Link: CVE-2026-114722

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T02:17:00.033

Modified: 2026-10-22T02:17:00.033

Link: CVE-2026-114722

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-22T01:39:43Z

Links: CVE-2026-114722 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T08:15:02Z

Weaknesses
  • CWE-1021

    Improper Restriction of Rendered UI Layers or Frames

  • CWE-669

    Incorrect Resource Transfer Between Spheres