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”.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-669 — CWE-669 Incorrect Resource Transfer Between Spheres
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Roundcube | Webmail | 1.6.0 to <1.6.20 [affected]; 1.7.0 to <1.7.5 [affected] |
References
- https://bugs.debian.org/1151279 (issue-tracking third-party-advisory)
- https://github.com/roundcube/roundcubemail/commit/95b81ae12e2819a9b7e8636b5859b6244cda383e (patch)
- https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5 (vendor-advisory release-notes)
- https://github.com/roundcube/roundcubemail/releases/tag/1.7.5 (release-notes patch)
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.20 (release-notes patch)
- https://github.com/roundcube/roundcubemail/commit/ff9cf4a9bf3b7c66db9afe43fe5f1cc73b47ed35 (patch)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 22 Oct 2026 07:04 UTC.