---
id: CVE-2026-114722
title: >-
  Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a CSS
  scoping bypass in HTML messages
summary: >-
  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 sel…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-669
vendor: Roundcube
product: Webmail
affected:
  - Webmail >= 1.6.0 < 1.6.20
  - Webmail >= 1.7.0 < 1.7.5
published: '2026-10-22'
updated: '2026-10-22'
sourceUpdated: '2026-10-22T01:39:43.658Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-114722'
references:
  - url: 'https://bugs.debian.org/1151279'
  - url: >-
      https://github.com/roundcube/roundcubemail/commit/95b81ae12e2819a9b7e8636b5859b6244cda383e
  - url: 'https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5'
  - url: 'https://github.com/roundcube/roundcubemail/releases/tag/1.7.5'
  - url: 'https://github.com/roundcube/roundcubemail/releases/tag/1.6.20'
  - url: >-
      https://github.com/roundcube/roundcubemail/commit/ff9cf4a9bf3b7c66db9afe43fe5f1cc73b47ed35
tags:
  - cve.org
ingestedAt: '2026-10-22T02:23:25.188Z'
---

## Overview

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

## Affected

- `Webmail >= 1.6.0 < 1.6.20`
- `Webmail >= 1.7.0 < 1.7.5`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
