Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-73428
Published:August 13, 2026
Updated:August 31, 2026
Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Prior to 2.1.18, Trix is vulnerable to stored cross-site scripting when crafted HTML is pasted into the editor. HTMLParser processes a mock attachment in a "<span>" with an empty "data-trix-attachment="{}"" value, causing data-trix-attributes to be applied to a plain string piece. StringPiece.fromJSON accepts an unvalidated href, allowing a javascript: URI to enter the document model and serialized HTML and execute when another user renders and clicks the content. Applications that apply server-side HTML sanitization can neutralize the payload on save. This issue is fixed in version 2.1.18.
Affected Packages
trix (CDN_JS):
Affected version(s) >=0.9.0 <2.1.18
Fix Suggestion:
Update to version 2.1.18
https://github.com/basecamp/trix.git (GITHUB):
Affected version(s) >=v2.0.0-alpha.0 <v2.1.18
Fix Suggestion:
Update to version v2.1.18
trix (NPM):
Affected version(s) >=0.9.0 <2.1.18
Fix Suggestion:
Update to version 2.1.18
action_text-trix (RUBY):
Affected version(s) >=0.0.1 <2.1.18
Fix Suggestion:
Update to version 2.1.18
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.17