CVE-2024-34341
Trix is a rich text editor. The Trix editor, versions prior to …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad
- github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554
- github.com/basecamp/trix/pull/1147
- github.com/basecamp/trix/pull/1149
- github.com/basecamp/trix/releases/tag/v2.1.1
- github.com/basecamp/trix/security/advisories/GHSA-qjqp-xr96-cj99
- nvd.nist.gov/vuln/detail/CVE-2024-34341
- github.com/rails/rails/commit/07e6c88cc4defe6f6b8d28e79eb13a518e15b14c
- nvd.nist.gov/vuln/detail/CVE-2024-34341
- cve.org/CVERecord?id=CVE-2024-34341
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.