Home / basecamp / trix / CVE-2025-21610
CVE-2025-21610: is it exploited, and which versions of basecamp trix are affected and fixed?
CVE-2025-21610 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, 16:09 UTC). Affected: trix before 2.1.12 (GitHub advisory GHSA-j386-3444-qgwg). Fixed in 2.1.12 (GitHub advisory GHSA-j386-3444-qgwg). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-21610?
Trix allows Cross-site Scripting via `javascript:` url in a link
Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Versions prior to 2.1.12 are vulnerable to cross-site scripting when pasting malicious code in the link field. An attacker could trick the user to copy&paste a malicious `javascript:` URL as a link 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.12 or later to receive a patch. In addition to upgrading, affected users can disallow browsers that don't support a Content Security Policy (CSP) as a workaround for this and other cross-site scripting vulnerabilities. Set CSP policies such as script-src 'self' to ensure that only scripts hosted on the same origin are executed, and explicitly prohibit inline scripts using script-src-elem.
From the CVE record by GitHub_M, last updated January 3, 2025, 16:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| basecamp | trix | < 2.1.12 |
As the CVE record by GitHub_M states it, last updated January 3, 2025. 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.1.12 | 2.1.12 | GHSA-j386-3444-qgwg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 3, 2025. Summary: Trix allows Cross-site Scripting via `javascript:` url in a link.
How severe is CVE-2025-21610?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/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-2025-21610 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, January 3, 2025)
- EPSS
- 0.42% probability of exploitation activity in the next 30 days, percentile 38.5 (FIRST EPSS, scores of December 3, 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-j386-3444-qgwg x_refsource_CONFIRM
- https://github.com/basecamp/trix/commit/180c8d337f18e1569cea6ef29b4d03ffff5b5faa x_refsource_MISC
- https://github.com/basecamp/trix/commit/c4f0d6f80654603932af6685694f694e96593b93 x_refsource_MISC
- https://gist.github.com/th4s1s/3921fd9c3e324ad9a3e0d846166e3eb8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 29, 2024
- Published
- January 3, 2025, 16:29 UTC
- CVE record updated
- January 3, 2025, 16:56 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:43 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 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)
- Dec 9, 2024CVE-2024-53847 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-2025-21610
Is CVE-2025-21610 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.42% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of basecamp trix are affected by CVE-2025-21610?
trix before 2.1.12, per the GitHub advisory GHSA-j386-3444-qgwg. The tables above give every range the sources list.
Which version fixes CVE-2025-21610?
2.1.12, per the GitHub advisory GHSA-j386-3444-qgwg. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-21610?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-21610?
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.