Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/basecamp/trix/commit/272c7e27e722608732a67108ad3fe7870e233ac8
- https://github.com/basecamp/trix/security/advisories/GHSA-6vx4-v2jw-qwqh
FAQ
What is CVE-2024-53847?
CVE-2024-53847 is a documented vulnerability. 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...
How severe is CVE-2024-53847?
CVSS scoring is not yet available for CVE-2024-53847. Check NVD for updates.
Is there a patch for CVE-2024-53847?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.