CVE-2024-53847: basecamp trix Cross-site Scripting
Vulnerability summary
CVE-2024-53847 is a medium (CVSS 5.1) Cross-site Scripting vulnerability in basecamp trix. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.8% of scored vulnerabilities.
Timeline
- 09-12-2024PublishedVulnerability first disclosed.
- 10-12-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated5.1MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- NVDNIST5.1MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
0.00 pp
From 0.46% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Basecamp1 product
- trix≥ 2.0.0, < 2.1.9 | ≥ 1.0.0, < 1.3.3
Npm1 product
- trix≥ 2.0.0, < 2.1.9 | ≥ 1.0.0, < 1.3.3
2 vendors · 2 products
References
4 links- github.com/basecamp/trixPACKAGE