Skip to content

CVE-2024-34341 The Trix Editor Contains an Arbitrary Code Execution Vulnerability

MediumCVSS 5.4 EPSS 0.78% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Trix 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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
basecamp trix < 2.1.1; = < 2.1.1 2.1.1 Fixed
npm trix(npm) >= 0.9.0, < 1.3.2; >= 2.0.0, < 2.1.1 1.3.2, 2.1.1 Fixed
rubygems actiontext(RubyGems) = 7.0.0; = 7.0.0.alpha1; = 7.0.0.alpha2; = 7.0.0.rc1 +34 more 7.0.8.3, 7.1.3.3 Fixed

Affected products

ProductAffected versionsFixed in
npm trix(npm) >= 2.0.0, < 2.1.1 2.1.1
npm trix(npm) >= 0.9.0, < 1.3.2 1.3.2
rubygems actiontext(RubyGems) >= 7.0.0.alpha1, < 7.0.8.3 7.0.8.3
rubygems actiontext(RubyGems) = 7.0.0 No fix listed
rubygems actiontext(RubyGems) = 7.0.0.alpha1 No fix listed
rubygems actiontext(RubyGems) = 7.0.0.alpha2 No fix listed
rubygems actiontext(RubyGems) = 7.0.0.rc1 No fix listed
rubygems actiontext(RubyGems) = 7.0.0.rc2 No fix listed
rubygems actiontext(RubyGems) = 7.0.0.rc3 No fix listed
rubygems actiontext(RubyGems) = 7.0.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.2 No fix listed
rubygems actiontext(RubyGems) = 7.0.2.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.2.2 No fix listed
rubygems actiontext(RubyGems) = 7.0.2.3 No fix listed
rubygems actiontext(RubyGems) = 7.0.2.4 No fix listed
rubygems actiontext(RubyGems) = 7.0.3 No fix listed
rubygems actiontext(RubyGems) = 7.0.3.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.4 No fix listed
rubygems actiontext(RubyGems) = 7.0.4.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.4.2 No fix listed
rubygems actiontext(RubyGems) = 7.0.4.3 No fix listed
rubygems actiontext(RubyGems) = 7.0.5 No fix listed
rubygems actiontext(RubyGems) = 7.0.5.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.6 No fix listed
rubygems actiontext(RubyGems) = 7.0.7 No fix listed
Show 17 more
ProductAffected versionsFixed in
rubygems actiontext(RubyGems) = 7.0.7.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.7.2 No fix listed
rubygems actiontext(RubyGems) = 7.0.8 No fix listed
rubygems actiontext(RubyGems) = 7.0.8.1 No fix listed
rubygems actiontext(RubyGems) = 7.0.8.2 No fix listed
rubygems actiontext(RubyGems) >= 7.1.0.beta1, < 7.1.3.3 7.1.3.3
rubygems actiontext(RubyGems) = 7.1.0 No fix listed
rubygems actiontext(RubyGems) = 7.1.0.beta1 No fix listed
rubygems actiontext(RubyGems) = 7.1.0.rc1 No fix listed
rubygems actiontext(RubyGems) = 7.1.0.rc2 No fix listed
rubygems actiontext(RubyGems) = 7.1.1 No fix listed
rubygems actiontext(RubyGems) = 7.1.2 No fix listed
rubygems actiontext(RubyGems) = 7.1.3 No fix listed
rubygems actiontext(RubyGems) = 7.1.3.1 No fix listed
rubygems actiontext(RubyGems) = 7.1.3.2 No fix listed
basecamp trix = < 2.1.1 No fix listed
basecamp trix < 2.1.1 2.1.1

References