CVE-2024-34341: Basecamp Trix
Medium severity, CVSS 5.4. EPSS: 1.0% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Basecamp Trix, before 2.1.1: fixed in 2.1.1
Affected products
Affected packages
- actiontext (RubyGems)
- trix (npm)
Published 2024-05-07. Last modified 2026-06-17.