cve.bz

CVE-2026-73426 basecamp trix: Cross-site Scripting

4.6 mediumEPSS 0.3%Fix available

Medium (4.6) in basecamp trix. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in action_text-trix 2.1.17.

On this page
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.

Severity

CVSS 3.1

4.6 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • action_text-trix (RubyGems): fixed in 2.1.17
  • trix (npm): fixed in 2.1.17

Ask an AI about this CVE

Show the promptExplain CVE-2026-73426 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-73426?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-73426?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-73426 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
basecamp trix< 2.1.17

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qmpg-8xg6-ph5qRubyGemsaction_text-trix<2.1.172.1.17
GHSA-qmpg-8xg6-ph5qnpmtrix<2.1.172.1.17

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A stored cross-site scripting (XSS) vulnerability was found in Trix, a rich text editor for web applications. In versions prior to 2.1.17, a custom DOMPurify hook permits the data-trix-serialized-attributes attribute to bypass sanitization. Trix later parses this attribute and applies its contents to the DOM without proper validation. An attacker who can control content stored in a Trix editor can craft HTML containing a data-trix-serialized-attributes attribute with malicious event handlers that execute when the content is rendered, potentially allowing execution of arbitrary JavaScript code within the context of the user's session. This could lead to unauthorized actions being performed or sensitive information being disclosed. Red Hat ships Trix editor versions 3.4.3, 3.4.4, 6.3.0, and 6.4.0 in OpenShift AI and Ansible on Clouds services, all of which are version 2.1.17 or later and are therefore not affected by this vulnerability.

Red Hat's mitigation

Red Hat products are not affected by this vulnerability as they ship Trix editor version 2.1.17 or later, which includes the fix for this issue. No action is required for Red Hat product users.

For customers who may be using Trix editor independently in custom applications or integrations outside of Red Hat products, ensure that the Trix npm package or action_text-trix RubyGem is upgraded to version 2.1.17 or later. After upgrading, review any stored content that may have been created with vulnerable versions of Trix to ensure it does not contain malicious serialized attributes. Consider implementing Content Security Policy (CSP) headers to provide an additional layer of defense against XSS attacks.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-73426.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON