CVE-2026-73426 Trix: Stored XSS vulnerability through serialized attributes
MediumCVSS 4.6
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm trix(npm) | < 2.1.17 | 2.1.17 | Fixed |
| rubygems action_text-trix(RubyGems) | < 2.1.17; = 0.0.1; = 2.1.15; = 2.1.16 | 2.1.17 | Fixed |
| basecamp trix | = < 2.1.17 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems action_text-trix(RubyGems) | < 2.1.17 | 2.1.17 |
| rubygems action_text-trix(RubyGems) | = 0.0.1 | No fix listed |
| rubygems action_text-trix(RubyGems) | = 2.1.15 | No fix listed |
| rubygems action_text-trix(RubyGems) | = 2.1.16 | No fix listed |
| npm trix(npm) | < 2.1.17 | 2.1.17 |
| basecamp trix | = < 2.1.17 | No fix listed |
References
- https://github.com/basecamp/trix/security/advisories/GHSA-qmpg-8xg6-ph5q vendor-advisory
- https://github.com/basecamp/trix/pull/1282 patch
- https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc patch
- github.com product
- https://github.com/basecamp/trix/releases/tag/v2.1.17
- github.com
- https://github.com/basecamp/trix/commit/3229c29c771ded4d247ed79b2ccd2cd05c4e74b4
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2517908 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- ENISA EUVD EUVD-2026-60825 third-party-advisory