CVE-2024-34341basecamp trix
Medium 5.4 No auth needed
Follow: this CVE · basecamp · basecamp trix We alert you by email or Slack (account required).
- Priority
- 48
- CVSS 3.1
- 5.4
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- May 7, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
What happens
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
- Apply the vendor's security update for trix.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | actiontext |
≥ 7.0.0.alpha1 < 7.0.8.3 |
7.0.8.3 |
gem "actiontext", ">= 7.0.8.3" |
| RubyGems | actiontext |
≥ 7.1.0.beta1 < 7.1.3.3 |
7.1.3.3 |
gem "actiontext", ">= 7.1.3.3" |
| npm | trix |
≥ 2.0.0 < 2.1.1 |
2.1.1 |
npm install trix@2.1.1 |
| npm | trix |
≥ 0.9.0 < 1.3.2 |
1.3.2 |
npm install trix@1.3.2 |
Per OSV / GitHub Advisories (GHSA-qjqp-xr96-cj99). Check the version in your lockfile before upgrading.
Affected products
- basecamp · trix
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.