Description
Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains a cross-site scripting vulnerability in compose_part_body() in program/actions/mail/compose.php, which converts a text/enriched message part to HTML for the HTML editor without sanitizing the result. Attackers can send a crafted email with a text/enriched part so that script injected into the HTML editor runs in the victim's session when the victim replies to, forwards, or edits the message.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Roundcube | Roundcube Webmail | < 1.6.19, 1.7.0 – < 1.7.4 | 1.6.19 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | roundcube | 1.6.19+dfsg-1 | — |
| Debian 13 | roundcube | 1.6.19+dfsg-0+deb13u1 | DSA-6545-1 |
| Debian 12 | roundcube | 1.6.5+dfsg-1+deb12u12 | DLA-4823-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | roundcube | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | roundcube | No fix yet | — |
| Ubuntu Pro 24.04 LTS | roundcube | No fix yet | — |
| Ubuntu Pro 22.04 LTS | roundcube | No fix yet | — |
| Ubuntu Pro 20.04 LTS | roundcube | No fix yet | — |
| Ubuntu Pro 18.04 LTS | roundcube | No fix yet | — |
| Ubuntu Pro 16.04 LTS | roundcube | No fix yet | — |
Advisories 3
- WID-SEC-2026-4866 Roundcube: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 29, 2026
- DLA-4823-1 roundcube - security update Debian Security (DSA / DLA) · Nov 27, 2026
- DSA-6545-1 roundcube - security update Debian Security (DSA / DLA) · Nov 27, 2026
References
- https://roundcube.net/news/2026/09/06/security-updates-1.6.19-and-1.7.4
- https://github.com/roundcube/roundcubemail/commit/1381bf5d7e4c595560acf0228a2e68e471cefbd8
- https://github.com/roundcube/roundcubemail/commit/636c296fe5f524e6e4e05c24e87df1d75658b3c2
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.19
- https://github.com/roundcube/roundcubemail/releases/tag/1.7.4
- https://github.com/roundcube/roundcubemail