CVE-2026-35539: Roundcube Webmail: Insufficient HTML attachment sanitization in preview mode
An issue was discovered in Roundcube Webmail before 1.5.14 and 1.6.14. XSS exists because of insufficient HTML attachment sanitization in preview mode. A victim must preview a text/html attachment.
Published Apr 3, 2026 · Updated Apr 4, 2026
Affected packages
roundcube/roundcubemail
- Ecosystem
- Composer (PHP)
- Affected
- >= 1.7-beta, < 1.7-rc5
- Fixed in
- 1.7-rc5
- Check
composer show roundcube/roundcubemail
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An issue was discovered in Roundcube Webmail before 1.5.14 and 1.6.14. XSS exists because of insufficient HTML attachment sanitization in preview mode. A victim must preview a text/html attachment.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-35539
- https://github.com/roundcube/roundcubemail/commit/10a6d1fa8acac85c727b0a6ae4a6642bfa27bea1
- https://github.com/roundcube/roundcubemail/commit/1b30edf5369668c92fe91dae3d52e477c808aa4f
- https://github.com/roundcube/roundcubemail/commit/d742954ccbcdee7020f8f2e7c49ce0fca5a0efab
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.14
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.14
- https://github.com/roundcube/roundcubemail/releases/tag/1.7-rc5
- https://roundcube.net/news/2026/03/18/security-updates-1.7-rc5-1.6.14-1.5.14
- https://github.com/advisories/GHSA-x4q5-8j5g-hpjc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-35537
Roundcube Webmail: Unsafe deserialization in the redis/memcache session handler
low3.7Apr 3, 2026CVE-2026-35538
Roundcube Webmail: Unsanitized IMAP SEARCH command arguments
low3.1Apr 3, 2026CVE-2026-35540
Roundcube Webmail: Insufficient CSS sanitization in HTML e-mail messages
medium5.4Apr 3, 2026CVE-2026-35541
Roundcube Webmail: Incorrect password comparison in the password plugin
medium4.2Apr 3, 2026CVE-2026-35542
Roundcube: Bypass of remote image blocking via crafted BODY background attribute
medium5.3Apr 3, 2026CVE-2026-35543
Roundcube Webmail: Bypass of remote image blocking via SVG content (with animate attributes) in an e-mail message
medium5.3Apr 3, 2026
