NetSight
medium4.6

CVE-2026-73426

Trix is a what-you-see-is-what-you-get rich text editor for everyday writing.

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsaction_text-trix< 2.1.172.1.17
npmtrix< 2.1.172.1.17

Weakness classification

References