GHSA-x4q5-8j5g-hpjcmedium6.1
Roundcube Webmail: Insufficient HTML attachment sanitization in preview mode
The advisory, in context
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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
roundcube/roundcubemail Packagist
Ecosystem versions
From 1.7-beta before 1.7-rc5
Fixed in 1.7-rc5
6 explicitly affected versions
1.7-beta, 1.7-beta2, 1.7-rc, 1.7-rc2, 1.7-rc3, 1.7-rc4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "1.7-beta"
},
{
"fixed": "1.7-rc5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7-beta",
"1.7-beta2",
"1.7-rc",
"1.7-rc2",
"1.7-rc3",
"1.7-rc4"
]
}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
- 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