CVE-2026-73426: Trix: Stored XSS vulnerability through serialized attributes

Published Aug 18, 2026
·
Updated

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.

Affected Software

1 affected component
Trix<2.1.17

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Trix to a version that resolves this vulnerability.

    Fixed in 2.1.17

Event History

Aug 18, 2026
CVE Published
via MITRE·02:24 PM
Data Sourced
via MITRE·02:24 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Applications using Trix versions before 2.1.17 are affected when they render attacker-crafted HTML containing the data-trix-serialized-attributes attribute. The issue is fixed in Trix 2.1.17.

2

What must an attacker do to exploit this issue?

An attacker needs the ability to supply or cause the application to render crafted HTML with a malicious data-trix-serialized-attributes value. Exploitation also requires a user to render that content in their session.

3

What is the recommended remediation?

Upgrade Trix to version 2.1.17. The provided information does not identify an alternative mitigation for environments that cannot immediately upgrade.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203