Loading...
Skip to main content

CVE-2026-73426 — Vulnerability in trix — CVE Details

MEDIUM

Trix has a Stored XSS vulnerability through serialized attributes

Published March 12, 2026Updated September 10, 2026Source: osv

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](https://hackerone.com/newbiefromcoma).

Advisory Timeline

  • First published March 12, 2026 (214 days ago).
  • Last revised September 10, 2026 — 181 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update trix to 2.1.17 or later
npm install trix@2.1.17
Bundler
Update action_text-trix to 2.1.17 or later
gem install action_text-trix -v 2.1.17

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 2 ecosystems: npm (1), rubygems (1).

PackageEcosystemAffectedFixed In
trix
npm
All versions2.1.17
action_text-trix
rubygems
0.0.1, 2.1.15, 2.1.162.1.17

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 4.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-73426 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
4.6

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-qmpg-8xg6-ph5q

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies