Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Prior to 2.1.17, Trix is vulnerable to cross-site scripting when a data-trix-serialized-attributes attribute bypasses the DOMPurify sanitizer. An attacker can craft HTML containing a data-trix-serialized-attributes attribute with a malicious payload that, when rendered, executes arbitrary JavaScript in the user's session and may perform unauthorized actions or disclose sensitive information. This issue is fixed in version 2.1.17.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73426.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.1.17"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "3229c29c771ded4d247ed79b2ccd2cd05c4e74b4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "53197ab5a142e6b0b76127cb790726b274eaf1bc"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v2.1.17",
"range": [
{
"fixed": "2e46d5128f3927cd93543b5fff8d81b31d35ce77"
}
],
"source": "REFERENCES_TAG"
}
]
}