CVE-2024-53847CWE-79

Trix vulnerable to Cross-site Scripting on copy & paste

Medium · published December 9, 2024

CVSS v4.0
5.1
EPSS
0%
Percentile
39.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
Vector
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
EPSS
0.00463 · 39.2th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2024-12-09T18:49Z
EPSS history
Timeline
  • 09 DEC 18:49Z
    Trix vulnerable to Cross-site Scripting on copy & paste
    cvelistv5