CVE-2024-53847

MEDIUM

Trix <2.1.9-1.3.3 - XSS

Title source: llm
STIX 2.1

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.

Scores

CVSS v4 5.1
EPSS 0.0022
EPSS Percentile 44.5%
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
basecamp/trix >= 1.0.0, < 1.3.3
basecamp/trix >= 2.0.0, < 2.1.9
npm/trix 2.0.0 - 2.1.9npm
Published Dec 09, 2024
Tracked Since Feb 18, 2026