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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Roundcube | Roundcube Webmail | < 1.6.19; >= 1.7.0, < 1.7.4 |
References
- https://github.com/roundcube/roundcubemail
- 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://roundcube.net/news/2026/09/06/security-updates-1.6.19-and-1.7.4
Timeline
- Published
- Nov 27, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Deferred