CVE-2026-73427 json
Trix: XSS via JSON deserialization bypass in drag-and-drop (Level0InputController)
published 2026-03-29 7 mo ago modified 2026-10-24 16 d ago also GHSA-53p3-c7vp-4mcc , EUVD-2026-57622
- cvss
- 2.1
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Prior to 2.1.18, Trix is vulnerable to cross-site scripting when a crafted application/x-trix-document JSON payload is dropped into an editor using the fallback Level0InputController, such as an embedded WebView without Input Events Level 2 support. The StringPiece.fromJSON method trusts href attributes from the JSON payload without sanitization, allowing a draggable element containing a javascript: URI to bypass DOMPurify sanitization and inject executable JavaScript into the DOM. Exploitation requires the victim to drag and drop attacker-controlled content, and server-side HTML sanitization can neutralize the payload on save. This issue is fixed in version 2.1.18.
Patch / fix
- npm trix 2.1.18
- rubygems action_text-trix 2.1.18
- github.com/basecamp/trix@9c0a993 commit
- github.com/basecamp/trix#1293 pull request
- github.com/basecamp/trix/releases/tag/v2.1.18 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-73427 updated cvss 4.3
trix: action_text-trix: Trix: Cross-site scripting via crafted JSON drag-and-drop
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 2.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 2.1 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | trix | <2.1.18 |
2.1.18 |
| rubygems | action_text-trix | <2.1.18 |
2.1.18 |
Affected products
- basecamp trix
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- github.com /basecamp/trix/pull/1293
-
github.com
/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c
web
-
github.com
/basecamp/trix/security/advisories/GHSA-53p3-c7vp-4mcc
web
-
github.com
/basecamp/trix/releases/tag/v2.1.18
web
-
github.com
/basecamp/trix
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-53p3-c7vp-4mcc.yml
web
Sources
- CVE List CVE-2026-73427
- GitHub Advisory GHSA-53p3-c7vp-4mcc
- NVD CVE-2026-73427
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.