{"schemaVersion":3,"id":"CVE-2026-73427","aliases":["CGA-39h4-4833-xqx9","CGA-5j73-h4mq-v7hc","CGA-5vg7-4h86-m5rh","CGA-7m5h-h7ww-x36j","CGA-7w93-3wfv-c3cm","CGA-jp2g-vg73-hc7f","CGA-pp8r-c2cr-gr6x","CGA-pvcm-mxgr-m7xq","GHSA-53p3-c7vp-4mcc"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-08-12T20:50:17.434Z","modified":"2026-08-13T13:51:28.767Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":2.1,"severity":"low","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":2.1,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Wolfi","score":2.1,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":2.1,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Chainguard","score":2.1,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Rubygems","score":2.1,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":2.1,"severity":"low","vector":"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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00575,"percentile":0.46629,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.249,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00326},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00575,"percentile":0.46629}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00326,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00575,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00575,"percentile":0.46629}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"chainguard","product":"ruby3.2-rails-8.1","name":"ruby3.2-rails-8.1","label":"ruby3.2-rails-8.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruby3.2-rails-8.1","purlType":"apk","versions":[{"text":"< 8.1.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.3-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ruby3.3-rails-8.1","name":"ruby3.3-rails-8.1","label":"ruby3.3-rails-8.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruby3.3-rails-8.1","purlType":"apk","versions":[{"text":"< 8.1.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.3-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ruby3.4-rails-8.1","name":"ruby3.4-rails-8.1","label":"ruby3.4-rails-8.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruby3.4-rails-8.1","purlType":"apk","versions":[{"text":"< 8.1.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.3-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"ruby4.0-rails-8.1","name":"ruby4.0-rails-8.1","label":"ruby4.0-rails-8.1","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/ruby4.0-rails-8.1","purlType":"apk","versions":[{"text":"< 8.1.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.3-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruby3.2-rails-8.1","name":"ruby3.2-rails-8.1","label":"ruby3.2-rails-8.1","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruby3.2-rails-8.1","purlType":"apk","versions":[{"text":"< 8.1.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.3-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruby3.3-rails-8.1","name":"ruby3.3-rails-8.1","label":"ruby3.3-rails-8.1","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruby3.3-rails-8.1","purlType":"apk","versions":[{"text":"< 8.1.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.3-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruby3.4-rails-8.1","name":"ruby3.4-rails-8.1","label":"ruby3.4-rails-8.1","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruby3.4-rails-8.1","purlType":"apk","versions":[{"text":"< 8.1.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.3-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"ruby4.0-rails-8.1","name":"ruby4.0-rails-8.1","label":"ruby4.0-rails-8.1","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/ruby4.0-rails-8.1","purlType":"apk","versions":[{"text":"< 8.1.3-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.1.3-r1","eol":null,"hubHref":null},{"vendor":"basecamp","product":"trix","name":"trix","label":"trix","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.1.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.18","eol":null,"hubHref":"/vendor/basecamp/trix"},{"vendor":"RubyGems","product":"action_text-trix","name":"action_text-trix","label":"action_text-trix","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/action_text-trix","purlType":"gem","versions":[{"text":"< 2.1.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.18","eol":null,"hubHref":null},{"vendor":"Npm","product":"trix","name":"trix","label":"trix","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/trix","purlType":"npm","versions":[{"text":"< 2.1.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.1.18","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/basecamp/trix/security/advisories/GHSA-53p3-c7vp-4mcc","label":"github.com/basecamp/trix/security/advisories/GHSA-53p3-c7vp-4mcc","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB"]},{"url":"https://github.com/basecamp/trix/pull/1293","label":"github.com/basecamp/trix/pull/1293","hostname":"github.com","tags":["X Refsource MISC","FIX"]},{"url":"https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c","label":"github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB"]},{"url":"https://github.com/basecamp/trix/releases/tag/v2.1.18","label":"github.com/basecamp/trix/releases/tag/v2.1.18","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73427.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73427.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73427","label":"nvd.nist.gov/vuln/detail/CVE-2026-73427","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/basecamp/trix","label":"github.com/basecamp/trix","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-53p3-c7vp-4mcc.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-53p3-c7vp-4mcc.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-CWGR-GRWC-8WGX"]},"timeline":[{"kind":"published","date":"2026-08-12T20:50:17.434Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-13T13:51:28.767Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":9,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:46:09.890Z","stale":false,"partial":false}}