CVE-2026-73426

Trix: Stored XSS vulnerability through serialized attributes

Published Aug 18, 2026 CVSS 3.1 · 4.6 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

This vulnerability in the Trix rich‑text editor allows an attacker to inject script through the data-trix-serialized-attributes attribute. The injected payload bypasses the DOMPurify sanitizer, leading to stored cross‑site scripting. When a user loads the offending content, arbitrary JavaScript executes in the browser session, enabling unauthorized actions or data theft.

Affected Systems

The flaw affects any installation of Basecamp Trix prior to version 2.1.17. Clients that embed the editor in webpages or content management systems and display data from untrusted sources are at risk if they have not upgraded the editor.

Risk and Exploitability

With a CVSS score of 4.6, the vulnerability presents moderate risk, and it is not listed in CISA KEV. The EPSS score is not available; exploitation requires an attacker to supply crafted HTML that the editor parses for a user. Because the flaw is client‑side, the attack surface is limited to contexts where the editor renders user content, such as publicly exposed pages or malicious files.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch to upgrade Trix to version 2.1.17 or later, which addresses the stored XSS flaw identified by CWE‑79.
  • Ensure the upgraded editor follows CWE‑79 best practices for input sanitization, especially configuring DOMPurify to handle serialized attributes.
  • If an upgrade is not immediately possible, remove or neutralize any data‑trix‑serialized‑attributes from untrusted content, following CWE‑79 guidelines to eliminate arbitrary script execution.

Generated by OpenCVE AI on August 18, 2026 at 17:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-qmpg-8xg6-ph5q Trix has a Stored XSS vulnerability through serialized attributes
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Basecamp
Basecamp trix
Vendors & Products Basecamp
Basecamp trix
Type Values Removed Values Added
Description 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.
Title Trix: Stored XSS vulnerability through serialized attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 18, 2026, 5:47 PM
Reserved
Aug 12, 2026, 2:32 PM
Status
Deferred
Published
Aug 18, 2026, 3:17 PM
Modified
Oct 22, 2026, 10:10 PM