Home / basecamp / trix / CVE-2024-34341
CVE-2024-34341: is it exploited, and which versions of basecamp trix are affected and fixed?
CVE-2024-34341 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, 12:38 UTC). Affected: trix from 2.0.0 before 2.1.1, trix from 0.9.0 before 1.3.2, actiontext from 7.0.0.alpha1 before 7.0.8.3 and 1 more (GitHub advisory GHSA-qjqp-xr96-cj99). Fixed in 2.1.1, 1.3.2, 7.0.8.3 and 7.1.3.3 (GitHub advisory GHSA-qjqp-xr96-cj99). Severity: Medium (5.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:30 UTC.
What is CVE-2024-34341?
The Trix Editor Contains an Arbitrary Code Execution Vulnerability
Trix is a rich text editor. The Trix editor, versions prior to 2.1.1, is vulnerable to arbitrary code execution when copying and pasting content from the web or other documents with markup into the editor. The vulnerability stems from improper sanitization of pasted content, allowing an attacker to embed malicious scripts which are executed within the context of the application. Users should upgrade to Trix editor version 2.1.1 or later, which incorporates proper sanitization of input from copied content.
From the CVE record by GitHub_M, last updated August 2, 2024, 02:51 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| basecamp | trix | < 2.1.1 |
As the CVE record by GitHub_M states it, last updated August 2, 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.1 | 2.1.1 | GHSA-qjqp-xr96-cj99 |
| npm | trix | >= 0.9.0, < 1.3.2 | 1.3.2 | GHSA-qjqp-xr96-cj99 |
| RubyGems | actiontext | >= 7.0.0.alpha1, < 7.0.8.3 | 7.0.8.3 | GHSA-qjqp-xr96-cj99 |
| RubyGems | actiontext | >= 7.1.0.beta1, < 7.1.3.3 | 7.1.3.3 | GHSA-qjqp-xr96-cj99 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 3, 2024. Summary: Trix Editor Arbitrary Code Execution Vulnerability.
How severe is CVE-2024-34341?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A: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-34341 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 7, 2024)
- EPSS
- 0.78% probability of exploitation activity in the next 30 days, percentile 57.3 (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-qjqp-xr96-cj99 x_refsource_CONFIRM
- https://github.com/basecamp/trix/pull/1147 x_refsource_MISC
- https://github.com/basecamp/trix/pull/1149 x_refsource_MISC
- https://github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad x_refsource_MISC
- https://github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554 x_refsource_MISC
- https://github.com/basecamp/trix/releases/tag/v2.1.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 2, 2024
- Published
- May 7, 2024, 15:13 UTC
- CVE record updated
- August 2, 2024, 02:51 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 07:33 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:30 UTC; KEV December 3, 2026, 12: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)
- Dec 9, 2024CVE-2024-53847 basecamp trix: cross-site scripting (XSS)
- Aug 14, 2024CVE-2024-43368 basecamp trix: cross-site scripting (XSS)
Questions about CVE-2024-34341
Is CVE-2024-34341 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.78% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of basecamp trix are affected by CVE-2024-34341?
trix from 2.0.0 before 2.1.1, trix from 0.9.0 before 1.3.2, actiontext from 7.0.0.alpha1 before 7.0.8.3 and actiontext from 7.1.0.beta1 before 7.1.3.3, per the GitHub advisory GHSA-qjqp-xr96-cj99. The tables above give every range the sources list.
Which version fixes CVE-2024-34341?
2.1.1, 1.3.2, 7.0.8.3 and 7.1.3.3, per the GitHub advisory GHSA-qjqp-xr96-cj99. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-34341?
Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-34341?
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.