CVE-2026-73427: basecamp trix Cross-site Scripting
Vulnerability summary
CVE-2026-73427 is a low (CVSS 2.1) Cross-site Scripting vulnerability in basecamp trix. EPSS estimates a 0.57% chance of exploitation in the next 30 days, higher than 46.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 12-08-2026PublishedVulnerability first disclosed.
- 13-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · WolfiEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · NpmEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · RubygemsEcosystem advisory · calculated2.1LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- NVDNIST2.1LowCVSS: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
EPSS trend
Probability
0.57%
Chance of exploitation in the next 30 days
Percentile
47%
Versus all other CVEs
30-day change
+0.25 pp
From 0.33% on 21-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
Chainguard4 products
- ruby3.2-rails-8.1< 8.1.3-r1
- ruby3.3-rails-8.1< 8.1.3-r1
- ruby3.4-rails-8.1< 8.1.3-r1
- ruby4.0-rails-8.1< 8.1.3-r1
Wolfi4 products
- ruby3.2-rails-8.1< 8.1.3-r1
- ruby3.3-rails-8.1< 8.1.3-r1
- ruby3.4-rails-8.1< 8.1.3-r1
- ruby4.0-rails-8.1< 8.1.3-r1
Basecamp1 product
- trix< 2.1.18
Npm1 product
- trix< 2.1.18
RubyGems1 product
- action_text-trix< 2.1.18
5 vendors · 11 products
References
8 links- github.com/basecamp/trixPACKAGE