CVE-2024-53847 Information
Dec 10, 2024
cve
Description
The Trix rich text editor prior to versions 2.1.9 and 1.3.3 is vulnerable to cross-site scripting (XSS) + mutation XSS attacks when pasting malicious code. An attacker could trick a user to copy and paste malicious code that would execute arbitrary JavaScript code within the context of the user’s session potentially leading to unauthorized actions being performed or sensitive information being disclosed. Users should upgrade to Trix editor version 2.1.9 or 1.3.3 which uses DOMPurify to sanitize the pasted content.
Reference
https://github.com/basecamp/trix/commit/272c7e27e722608732a67108ad3fe7870e233ac8 https://github.com/basecamp/trix/security/advisories/GHSA-6vx4-v2jw-qwqh
Share on: