Home / basecamp / trix / CVE-2024-53847
CVE-2024-53847: is it exploited, and which versions of basecamp trix are affected and fixed?
CVE-2024-53847 is a cross-site scripting (XSS) vulnerability in basecamp trix. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: trix from 2.0.0 before 2.1.9 and trix from 1.0.0 before 1.3.3 (GitHub advisory GHSA-6vx4-v2jw-qwqh). Fixed in 2.1.9 and 1.3.3 (GitHub advisory GHSA-6vx4-v2jw-qwqh). Severity: Medium (5.1, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2024-53847?
Trix vulnerable to Cross-site Scripting on copy & paste
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.
From the CVE record by GitHub_M, last updated December 10, 2024, 16:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| basecamp | trix | >= 2.0.0, < 2.1.9 >= 1.0.0, < 1.3.3 |
As the CVE record by GitHub_M states it, last updated December 10, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | trix | >= 2.0.0, < 2.1.9 | 2.1.9 | GHSA-6vx4-v2jw-qwqh |
| npm | trix | >= 1.0.0, < 1.3.3 | 1.3.3 | GHSA-6vx4-v2jw-qwqh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 9, 2024. Summary: Trix editor subject to XSS vulnerabilities on copy & paste.
How severe is CVE-2024-53847?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-53847 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, December 10, 2024)
- EPSS
- 0.46% probability of exploitation activity in the next 30 days, percentile 41.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/basecamp/trix/security/advisories/GHSA-6vx4-v2jw-qwqh x_refsource_CONFIRM
- https://github.com/basecamp/trix/commit/272c7e27e722608732a67108ad3fe7870e233ac8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 22, 2024
- Published
- December 9, 2024, 18:49 UTC
- CVE record updated
- December 10, 2024, 16:15 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:09 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect trix?
- Aug 18, 2026CVE-2026-73426 basecamp trix: cross-site scripting (XSS)
- Aug 13, 2026CVE-2026-73428 basecamp trix: cross-site scripting (XSS)
- Aug 12, 2026CVE-2026-73427 basecamp trix: cross-site scripting (XSS)
- May 8, 2025CVE-2025-46812 basecamp trix: cross-site scripting (XSS)
- Jan 3, 2025CVE-2025-21610 basecamp trix: cross-site scripting (XSS)
- Aug 14, 2024CVE-2024-43368 basecamp trix: cross-site scripting (XSS)
- May 7, 2024CVE-2024-34341 basecamp trix: cross-site scripting (XSS)
Questions about CVE-2024-53847
Is CVE-2024-53847 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of basecamp trix are affected by CVE-2024-53847?
trix from 2.0.0 before 2.1.9 and trix from 1.0.0 before 1.3.3, per the GitHub advisory GHSA-6vx4-v2jw-qwqh. The tables above give every range the sources list.
Which version fixes CVE-2024-53847?
2.1.9 and 1.3.3, per the GitHub advisory GHSA-6vx4-v2jw-qwqh. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-53847?
Medium (5.1, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-53847?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.