{"id":"CVE-2026-73426","aliases":["CVE-2026-73426","GHSA-qmpg-8xg6-ph5q"],"related":[],"kind":"vulnerability","state":"published","title":"Trix: Stored XSS vulnerability through serialized attributes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe Trix editor, in versions prior to 2.1.17, is vulnerable to XSS attacks when a `data-trix-serialized-attributes` attribute bypasses the DOMPurify sanitizer.\n\nAn attacker could craft HTML containing a `data-trix-serialized-attributes` attribute with a malicious payload that, when the content is rendered, could execute arbitrary JavaScript code within the context of the user's session, potentially leading to unauthorized actions being performed or sensitive information being disclosed.\n\n### Patches\nUpdate Recommendation: Users should upgrade to Trix editor version 2.1.17 or later.\n\n### References\nThe XSS vulnerability was responsibly reported by Hackerone researcher [newbiefromcoma](https://hackerone.com/newbiefromcoma).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Trix es un editor de texto enriquecido de lo que ves es lo que obtienes para la escritura diaria. Antes de 2.1.17, Trix es vulnerable a cross-site scripting cuando un atributo data-trix-serialized-attributes omite el saneador DOMPurify. Un atacante puede elaborar HTML que contiene un atributo data-trix-serialized-attributes con una carga útil maliciosa que, al renderizarse, ejecuta JavaScript arbitrario en la sesión del usuario y puede realizar acciones no autorizadas o divulgar información sensible. Este problema se corrige en la versión 2.1.17.","source":"nvd"}],"published":"2026-03-12T17:29:30.000Z","modified":"2026-10-22T22:10:00.250Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.1.17","status":"affected"}],"vendor":"basecamp","product":"trix","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.17"}],"ecosystem":"RubyGems","package":"action_text-trix","purl":"pkg:gem/action_text-trix","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.17"}],"ecosystem":"npm","package":"trix","purl":"pkg:npm/trix","source":"ghsa"}],"references":[{"url":"https://github.com/basecamp/trix/security/advisories/GHSA-qmpg-8xg6-ph5q","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/basecamp/trix/pull/1282","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/basecamp/trix/commit/3229c29c771ded4d247ed79b2ccd2cd05c4e74b4","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/basecamp/trix/releases/tag/v2.1.17","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/basecamp/trix","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-qmpg-8xg6-ph5q.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-18T17:19:19.823Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-73426","url":"https://www.cve.org/CVERecord?id=CVE-2026-73426","licence":"CVE Terms of Use","modified":"2026-08-18T17:47:02.477Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qmpg-8xg6-ph5q","url":"https://github.com/advisories/GHSA-qmpg-8xg6-ph5q","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:00.638Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-73426","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73426","licence":"Public domain","modified":"2026-10-22T22:10:00.250Z"}],"updatedAt":"2026-11-25T22:59:33.493Z","epss":{"score":0.00245,"percentile":0.16855,"date":"2026-12-01T12:00:22.000Z"}}