Cross-site scripting in Trix - CVE-2026-73428
Published: November 18, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary JavaScript in another user's browser through stored cross-site scripting.
The vulnerability exists due to insufficient href validation in Trix's StringPiece.fromJSON when HTMLParser processes pasted HTML containing a mock <span> attachment with data-trix-attachment="{}", applying data-trix-attributes to a plain string piece. A remote user can supply crafted HTML containing a javascript: href to persist executable content in serialized output that executes when another user renders and clicks it.