Advisory

GHSA-qmpg-8xg6-ph5q

Also known as: CVE-2026-73426

Summary

Trix has a Stored XSS vulnerability through serialized attributes

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-12 17:29 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

action_text-trix

RubyGems · All systems

Affected

  • introduced 0, fixed 2.1.17 (ecosystem)

Fixed versions

2.1.17

Fix

The export has no generic command for this ecosystem.

trix

npm · All systems

Affected

  • introduced 0, fixed 2.1.17 (semver)

Fixed versions

2.1.17

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences