CVE-2026-73426: Action text trix Cross-Site Scripting Vulnerability
MODERATECVE-2026-73426 is a MODERATE (CVSS 4.6) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Action text trix libraries in the RubyGems ecosystem. The issue involves trix has a stored xss vulnerability through serialized attributes. Remediation is available by upgrading affected packages to version 2.1.17.
CVE-2026-73426 at a Glance
Security Impact
CVSS: 4.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2026-73426
To remediate this vulnerability, upgrade all affected Action text trix dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade action_text-trix to 2.1.17
npm install trix@2.1.17
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for action_text-trix
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-73426, inspect your project dependencies for Action text trix:
inspect dependencies for action_text-trix
Analyze the terminal output to locate any version of Action text trix in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.17), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Action text trix, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-73426 Affected Action text trix Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
action_text-trix
|
RubyGems |
< 2.1.17
|
2.1.17
|
|
trix
|
npm |
< 2.1.17
|
2.1.17
|
References
Frequently Asked Questions
What is CVE-2026-73426?
Which Action text trix versions are affected?
What version fixes CVE-2026-73426?
Is action_text-trix affected?
Is trix affected?
What is the CVSS score of CVE-2026-73426?
What CWE is associated with CVE-2026-73426?
How can I check RubyGems dependencies for CVE-2026-73426?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qmpg-8xg6-ph5q",
"modified" : "2026-08-12T20:48:57Z",
"published" : "2026-03-12T17:29:30Z",
"aliases" : [ "CVE-2026-73426" ],
"summary" : "Trix has a Stored XSS vulnerability through serialized attributes",
"details" : "### Impact\nThe 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.\n\nAn 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.\n\n### Patches\nUpdate Recommendation: Users should upgrade to Trix editor version 2.1.17 or later.\n\n### References\nThe XSS vulnerability was responsibly reported by Hackerone researcher [newbiefromcoma](https://hackerone.com/newbiefromcoma).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "action_text-trix"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.17"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "trix"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.17"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/basecamp/trix/security/advisories/GHSA-qmpg-8xg6-ph5q"
}, {
"type" : "WEB",
"url" : "https://github.com/basecamp/trix/pull/1282"
}, {
"type" : "WEB",
"url" : "https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/basecamp/trix"
}, {
"type" : "WEB",
"url" : "https://github.com/basecamp/trix/releases/tag/v2.1.17"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-qmpg-8xg6-ph5q.yml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-12T17:29:30Z",
"nvd_published_at" : null
}
}