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.
{
"cna_assigner": "AISLE",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137943.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.6.19"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "1.7.0"
},
{
"fixed": "1.7.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "1381bf5d7e4c595560acf0228a2e68e471cefbd8"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "636c296fe5f524e6e4e05c24e87df1d75658b3c2"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "1.6.19",
"range": [
{
"fixed": "29beae7282135a3cd59a3945bd33ee8f904d6217"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "1.7.4",
"range": [
{
"fixed": "0d05c37a6e565b1ff0f3a4472081f20a64d569a1"
}
],
"source": "REFERENCES_TAG"
}
]
}