CVE-2024-53847: Basecamp Trix

Medium severity, CVSS 5.1. EPSS: 0.8% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Basecamp Trix, from 2.0.0, before 2.1.9: fixed in 2.1.9
  • Basecamp Trix, from 1.0.0, before 1.3.3: fixed in 1.3.3

Affected products

  • Basecamp Trix: from 2.0.0, before 2.1.9 (fixed in 2.1.9); from 1.0.0, before 1.3.3 (fixed in 1.3.3)

Affected packages

Published 2024-12-09. Last modified 2026-06-17.