CVE-2024-34341
CVE-2024-34341 · The Trix Editor Contains an Arbitrary Code Execution Vulnerability
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.4 · Medium · EPSS 0.8% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
trix
- Versions
- < 2.1.1: Affected
No fix published
trix npm
- Affected ranges
- SEMVER: ≥ 2.0.0, < 2.1.1
Update to 2.1.1
trix npm
- Affected ranges
- SEMVER: ≥ 0.9.0, < 1.3.2
Update to 1.3.2
actiontext RubyGems
- Versions
- 7.0.0
- 7.0.0.alpha1
- 7.0.0.alpha2
- 7.0.0.rc1
- 7.0.0.rc2
- 7.0.0.rc3
- 7.0.1
- 7.0.2
- 7.0.2.1
- 7.0.2.2
- 7.0.2.3
- 7.0.2.4
- 7.0.3
- 7.0.3.1
- 7.0.4
- 7.0.4.1
- 7.0.4.2
- 7.0.4.3
- 7.0.5
- 7.0.5.1
- 7.0.6
- 7.0.7
- 7.0.7.1
- 7.0.7.2
- 7.0.8
- 7.0.8.1
- 7.0.8.2
- Affected ranges
- ECOSYSTEM: ≥ 7.0.0.alpha1, < 7.0.8.3
Update to 7.0.8.3
actiontext RubyGems
- Versions
- 7.1.0
- 7.1.0.beta1
- 7.1.0.rc1
- 7.1.0.rc2
- 7.1.1
- 7.1.2
- 7.1.3
- 7.1.3.1
- 7.1.3.2
- Affected ranges
- ECOSYSTEM: ≥ 7.1.0.beta1, < 7.1.3.3
Update to 7.1.3.3
Original sources
- https://github.com/basecamp/trix/security/advisories/GHSA-qjqp-xr96-cj99
- https://github.com/basecamp/trix/pull/1147
- https://github.com/basecamp/trix/pull/1149
- https://github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad
- https://github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554
- https://github.com/basecamp/trix/releases/tag/v2.1.1
- https://nvd.nist.gov/vuln/detail/CVE-2024-34341