CVEvulnerability
CVE-2024-34341
5.4 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2024-05-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-79
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.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad github.com
- https://github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554 github.com
- https://github.com/basecamp/trix/pull/1147 github.com
- https://github.com/basecamp/trix/pull/1149 github.com
- https://github.com/basecamp/trix/releases/tag/v2.1.1 github.com
- https://github.com/basecamp/trix/security/advisories/GHSA-qjqp-xr96-cj99 github.com
- https://github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad github.com
- https://github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554 github.com
- https://github.com/basecamp/trix/pull/1147 github.com
- https://github.com/basecamp/trix/pull/1149 github.com
- https://github.com/basecamp/trix/releases/tag/v2.1.1 github.com
- https://github.com/basecamp/trix/security/advisories/GHSA-qjqp-xr96-cj99 github.com