Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. trix
  4. ›
  5. CVE-2024-53847

CVE-2024-53847: Trix editor subject to XSS vulnerabilities on copy & paste

December 9, 2024

The Trix editor, in versions prior to 2.1.9 and 1.3.3, is vulnerable to XSS + mutation XSS attacks when pasting malicious code.

References

  • github.com/advisories/GHSA-6vx4-v2jw-qwqh
  • github.com/basecamp/trix
  • github.com/basecamp/trix/commit/272c7e27e722608732a67108ad3fe7870e233ac8
  • github.com/basecamp/trix/security/advisories/GHSA-6vx4-v2jw-qwqh
  • nvd.nist.gov/vuln/detail/CVE-2024-53847

Code Behaviors & Features

Detect and mitigate CVE-2024-53847 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.0 before 1.3.3, all versions starting from 2.0.0 before 2.1.9

Fixed versions

  • 2.1.9
  • 1.3.3

Solution

Upgrade to versions 1.3.3, 2.1.9 or above.

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/trix/CVE-2024-53847.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.