{"id":"CVE-2026-73426","published":"2026-08-18T14:24:27Z","modified":"2026-08-18T17:47:02Z","title":"Trix: Stored XSS vulnerability through serialized attributes","vendor":"basecamp","product":"trix","tier":"tail","description":{"text":"Trix is a what-you-see-is-what-you-get rich text editor for everyday writing. Prior to 2.1.17, Trix is vulnerable to cross-site scripting when a data-trix-serialized-attributes attribute bypasses the DOMPurify sanitizer. An attacker can craft HTML containing a data-trix-serialized-attributes attribute with a malicious payload that, when rendered, executes arbitrary JavaScript in the user's session and may perform unauthorized actions or disclose sensitive information. This issue is fixed in version 2.1.17.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0032,"percentile":0.17486,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/basecamp/trix/security/advisories/GHSA-qmpg-8xg6-ph5q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/basecamp/trix/pull/1282","tags":["x_refsource_MISC"]},{"url":"https://github.com/basecamp/trix/commit/3229c29c771ded4d247ed79b2ccd2cd05c4e74b4","tags":["x_refsource_MISC"]},{"url":"https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc","tags":["x_refsource_MISC"]},{"url":"https://github.com/basecamp/trix/releases/tag/v2.1.17","tags":["x_refsource_MISC"]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":3.5},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"basecamp","affectedVersions":[{"vendor":"basecamp","product":"trix","versions":["< 2.1.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-18T17:19:19.823365Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"action_text-trix","vulnerableRanges":["<2.1.17"],"patched":["2.1.17"],"from":["GHSA-qmpg-8xg6-ph5q"],"provenance":"source"},{"ecosystem":"npm","package":"trix","vulnerableRanges":["<2.1.17"],"patched":["2.1.17"],"from":["GHSA-qmpg-8xg6-ph5q"],"provenance":"source"}],"summary":{"text":"The Trix rich text editor (basecamp's trix product) contains a stored cross-site scripting flaw in how it handles the data-trix-serialized-attributes attribute, which can bypass the DOMPurify sanitizer. An attacker who has low-privilege access and can get a victim to interact with crafted content (such as viewing or editing a document) can run arbitrary JavaScript in the victim's session, potentially performing unauthorized actions or disclosing sensitive information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:58Z"},"euvd":{"id":"EUVD-2026-60825","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-basecamp-trix-cve-2026-73427","children":[{"from":"CVE-2026-73426","to":"CVE-2026-73427","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:action_text-trix","fromFixed":"2.1.17","toFixed":"2.1.18","daysApart":-6},{"kind":"version-step","provenance":"source","package":"npm:trix","fromFixed":"2.1.17","toFixed":"2.1.18","daysApart":-6},{"kind":"same-code","provenance":"machine","files":["action_text-trix/app/assets/javascripts/trix.js"],"commits":["https://github.com/basecamp/trix/commit/3229c29c771ded4d247ed79b2ccd2cd05c4e74b4","https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc","https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c"],"basis":"rarely changed file"}]},{"from":"CVE-2026-73426","to":"CVE-2026-73428","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:action_text-trix","fromFixed":"2.1.17","toFixed":"2.1.18","daysApart":-5},{"kind":"version-step","provenance":"source","package":"npm:trix","fromFixed":"2.1.17","toFixed":"2.1.18","daysApart":-5},{"kind":"same-code","provenance":"machine","files":["action_text-trix/app/assets/javascripts/trix.js"],"commits":["https://github.com/basecamp/trix/commit/3229c29c771ded4d247ed79b2ccd2cd05c4e74b4","https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc","https://github.com/basecamp/trix/commit/9c0a993d9fc2ffe9d56b013b030bc238f9c0557c"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-53847","published":"2024-12-09","fixed":"2.1.9","kev":false},{"cve":"CVE-2025-21610","published":"2025-01-03","fixed":"2.1.12","kev":false},{"cve":"CVE-2025-46812","published":"2025-05-08","fixed":"2.1.15","kev":false,"link":{"from":"CVE-2025-46812","to":"CVE-2026-73426","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:trix","fromFixed":"2.1.15","toFixed":"2.1.17","daysApart":467},{"kind":"same-code","provenance":"machine","files":["src/trix/models/html_sanitizer.js"],"commits":["https://github.com/basecamp/trix/commit/75226089646841b0f774d8b152e5ec27d2d9e191","https://github.com/basecamp/trix/commit/3229c29c771ded4d247ed79b2ccd2cd05c4e74b4","https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc"],"basis":"shared file"}]}},{"cve":"CVE-2026-73426","published":"2026-08-18","fixed":"2.1.17","kev":false},{"cve":"CVE-2026-73427","published":"2026-08-12","fixed":"2.1.18","kev":false},{"cve":"CVE-2026-73428","published":"2026-08-13","fixed":"2.1.18","kev":false}],"package":"npm:trix"}}