CVE-2026-73426 — Vulnerability in trix — CVE Details
Trix has a Stored XSS vulnerability through serialized attributes
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.32%). Schedule for your next planned update.
Does your project use an affected trix version?
Paste your package-lock.json to check it for CVE-2026-73426 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
The Trix editor, in versions prior to 2.1.17, is vulnerable to XSS attacks when a data-trix-serialized-attributes attribute bypasses the DOMPurify sanitizer.
An attacker could craft HTML containing a data-trix-serialized-attributes attribute with a malicious payload that, when the content is rendered, could execute arbitrary JavaScript code within the context of the user's session, potentially leading to unauthorized actions being performed or sensitive information being disclosed.
Patches
Update Recommendation: Users should upgrade to Trix editor version 2.1.17 or later.
References
The XSS vulnerability was responsibly reported by Hackerone researcher newbiefromcoma.
Advisory Timeline
- First published March 12, 2026 (259 days ago).
- Last revised September 10, 2026 — 181 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install trix@2.1.17
gem install action_text-trix -v 2.1.17
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 2 ecosystems: npm (1), RubyGems (1).
| Package | Fixed In |
|---|---|
| trix npm · Affected: All versions | 2.1.17 |
| action_text-trix RubyGems · Affected: 0.0.1, 2.1.15, 2.1.16 | 2.1.17 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 4.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
References
- https://github.com/basecamp/trix/security/advisories/GHSA-qmpg-8xg6-ph5qWEB
- https://github.com/basecamp/trix/pull/1282WEB
- https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bcWEB
- https://github.com/basecamp/trixPACKAGE
- https://github.com/basecamp/trix/releases/tag/v2.1.17WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-qmpg-8xg6-ph5q.ymlWEB
Frequently Asked Questions
- What is CVE-2026-73426?
- Trix has a Stored XSS vulnerability through serialized attributes. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 4.6/10).
- How do I check if my project is affected by CVE-2026-73426?
- CVE-2026-73426 affects trix and action_text-trix. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-73426 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 17.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-128084MEDIUM
sqlite3-ruby: Possible SQL query truncation when a string is 4 GiB or larger
- CVE-2026-73428MEDIUM
Trix: Stored XSS via HTMLParser attribute injection on paste
- CVE-2026-115472MEDIUM
Doorkeeper: When using public clients, any client can revoke any access token
- CVE-2024-34341MEDIUM
Trix Editor Arbitrary Code Execution Vulnerability