{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-73428","id":"CVE-2026-73428","title":"Trix: Stored XSS via HTMLParser attribute injection on paste","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 stored cross-site scripting when crafted HTML is pasted into the editor. HTMLParser processes a mock attachment in a `<span>` with an empty `data-trix-attachment=\"{}\"` value, causing data-trix-attributes to be applied to a plain string piece. StringPiece.fromJSON accepts an unvalida","descriptionLong":"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 stored cross-site scripting when crafted HTML is pasted into the editor. HTMLParser processes a mock attachment in a `<span>` with an empty `data-trix-attachment=\"{}\"` value, causing data-trix-attributes to be applied to a plain string piece. StringPiece.fromJSON accepts an unvalidated href, allowing a javascript: URI to enter the document model and serialized HTML and execute when another user renders and clicks the content. Applications that apply server-side HTML sanitization can neutralize the payload on save. This issue is fixed in version 2.1.18.","published":"2026-08-13T22:04:19.121Z","updated":"2026-10-28T02:30:53.338225815Z","reserved":"2026-08-12T14:32:11.796Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["basecamp trix"],"affectedProducts":[{"vendor":"basecamp","product":"trix","defaultStatus":null,"versions":[{"version":"< 2.1.18","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"trix","purl":"pkg:npm/trix","ranges":["<2.1.18"],"fixed":["2.1.18"],"advisory":"GHSA-53g2-mvcc-q9x3"},{"ecosystem":"RubyGems","name":"action_text-trix","purl":"pkg:gem/action_text-trix","ranges":["<2.1.18"],"fixed":["2.1.18"],"advisory":"GHSA-53g2-mvcc-q9x3"}],"cwes":["CWE-79"],"aliases":["GHSA-53g2-mvcc-q9x3"],"references":[{"url":"https://github.com/basecamp/trix/security/advisories/GHSA-53g2-mvcc-q9x3","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/basecamp/trix/pull/1293","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/basecamp/trix/releases/tag/v2.1.18","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73428.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73428","tags":["advisory"]},{"url":"https://github.com/basecamp/trix","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00353,"epssPercentile":0.29645,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-73428","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73428","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-73428","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-53g2-mvcc-q9x3","ok":true,"note":"GHSA-53g2-mvcc-q9x3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-73428","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}