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”.
Affected products
roundcube: webmail
References6
- github.com/roundcube/roundcubemail/commit/95b81ae12e2819a9b7e86… Patch
- github.com/roundcube/roundcubemail/commit/ff9cf4a9bf3b7c66db9af… Patch
- bugs.debian.org/1151279 Third Party AdvisoryMailing List
- github.com/roundcube/roundcubemail/releases/tag/1.6.20 Release Notes
- github.com/roundcube/roundcubemail/releases/tag/1.7.5 Release Notes
- roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5 Release Notes
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 17 · as of 8 November 2026
- CWE
- CWE-669
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.