Cross-site scripting in Trix - CVE-2026-73428

 

Cross-site scripting in Trix - CVE-2026-73428

Published: November 18, 2026


Vulnerability identifier: #VU167138
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2026-73428
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

Trix

How to mitigate CVE-2026-73428

Install security update from vendor's website.

Trix - update to 2.1.18

External References

Related Security Bulletins