CVE-2026-137943: Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 XSS in HTML Editor via text/enriched Content
Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains a cross-site scripting vulnerability in composepartbody() 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 Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker can exploit it by sending a victim a crafted email containing a text/enriched message part. No attacker authentication or prior access is indicated.
When does the malicious script execute?
The script runs in the victim's Roundcube session when the victim replies to, forwards, or edits the crafted message in the HTML editor. Simply receiving the message is not identified as the execution trigger.
Which deployments are affected?
Roundcube Webmail versions before 1.6.19 are affected, as are 1.7.x versions before 1.7.4. The affected behavior is conversion of text/enriched message content for the HTML editor without sanitization.