The Trix Editor Contains an Arbitrary Code Execution Vulnerability
basecamp trix
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| trix npm |
|
|
| actiontext RubyGems |
|
basecamp trix
| Product | Affected | Fixed in |
|---|---|---|
| trix npm |
|
|
| actiontext RubyGems |
|
7.0.8.37.1.3.3Trix is a rich text editor. The Trix editor, versions prior to 2.1.1, is vulnerable to arbitrary code execution when copying and pasting content from the web or other documents with markup into the editor. The vulnerability stems from improper sanitization of pasted content, allowing an attacker to embed malicious scripts which are executed within the context of the application. Users should upgrade to Trix editor version 2.1.1 or later, which incorporates proper sanitization of input from copied content.
From the CVE record · GitHub_M
Trix does not properly sanitize markup pasted into the editor. An attacker can embed malicious scripts in web or document content that execute in the application's context when a user copies and pastes that content into Trix.
Check applications using npm trix versions >=0.9.0 <1.3.2 or >=2.0.0 <2.1.1, or RubyGems actiontext versions >=7.0.0.alpha1 <7.0.8.3 or >=7.1.0.beta1 <7.1.3.3.