PT-2026-71921 · Trix · Trix
CVE-2026-73428
·
Published
2026-07-24
·
Updated
2026-08-14
CVSS v3.1
4.6
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Trix versions prior to 2.1.18
Description
Trix is vulnerable to stored cross-site scripting when crafted HTML is pasted into the editor. The
HTMLParser processes a mock attachment in a <span> with an empty data-trix-attachment value, which causes data-trix-attributes to be applied to a plain string piece. The StringPiece.fromJSON() function accepts an unvalidated href, allowing a javascript: URI to enter the document model and serialized HTML, which executes when another user renders and clicks the content.Recommendations
Update to version 2.1.18.
Apply server-side HTML sanitization to neutralize payloads on save.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Trix