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.
https://roundcube.net/news/2026/09/06/security-updates-1.6.19-and-1.7.4
https://github.com/roundcube/roundcubemail/releases/tag/1.7.4
https://github.com/roundcube/roundcubemail/releases/tag/1.6.19
https://github.com/roundcube/roundcubemail/commit/636c296fe5f524e6e4e05c24e87df1d75658b3c2
https://github.com/roundcube/roundcubemail/commit/1381bf5d7e4c595560acf0228a2e68e471cefbd8
Published: 2026-11-27
Updated: 2026-11-27
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 6.1
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Severity: Medium
Base Score: 5.1
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Severity: Medium
EPSS: 0.00353