CVE-2026-73426: Action text trix Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-qmpg-8xg6-ph5q
CVSS 4.6
CWE-79
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-73426
GHSA Identifier GHSA-qmpg-8xg6-ph5q
Severity MODERATE
CVSS v3.1 Base Score 4.6
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Action text trix
Package Ecosystem RubyGems
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (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.

action_text-trix fixed: 2.1.17
Upgrade action_text-trix to 2.1.17
trix fixed: 2.1.17
npm install trix@2.1.17
Verify Direct and Transitive Dependencies

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

### 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).

CVE-2026-73426 Affected Action text trix Versions

2 component(s)
Fixed Versions:
2.1.17
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?
CVE-2026-73426 is a security vulnerability in Action text trix involving Trix has a Stored XSS vulnerability through serialized attributes under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Action text trix versions are affected?
Affected versions include releases prior to 2.1.17 across affected packages: action_text-trix, trix.
What version fixes CVE-2026-73426?
Upgrading to 2.1.17 (or the latest patched release for your respective branch) resolves the vulnerability.
Is action_text-trix affected?
Yes, action_text-trix is affected in releases prior to 2.1.17. Upgrade your dependency to 2.1.17 or later.
Is trix affected?
Yes, trix is affected in releases prior to 2.1.17. Upgrade your dependency to 2.1.17 or later.
What is the CVSS score of CVE-2026-73426?
CVE-2026-73426 has a CVSS v3.1 base score of 4.6 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-73426?
CVE-2026-73426 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check RubyGems dependencies for CVE-2026-73426?
Run the dependency tree command: 'inspect dependencies for action_text-trix'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}