# CVE-2026-73426: Trix: Stored XSS vulnerability through serialized attributes

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-03-12T17:29:30.000Z
- Modified: 2026-10-22T22:10:00.250Z
- Also known as: GHSA-qmpg-8xg6-ph5q
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- basecamp trix: < 2.1.17
- action_text-trix (RubyGems): before 2.1.17
- trix (npm): before 2.1.17

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/basecamp/trix/security/advisories/GHSA-qmpg-8xg6-ph5q> (web)
- <https://github.com/basecamp/trix/pull/1282> (web)
- <https://github.com/basecamp/trix/commit/3229c29c771ded4d247ed79b2ccd2cd05c4e74b4>
- <https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc> (web)
- <https://github.com/basecamp/trix/releases/tag/v2.1.17> (web)
- <https://github.com/basecamp/trix> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-qmpg-8xg6-ph5q.yml> (web)

## Sources

- CVE List: [CVE-2026-73426](https://www.cve.org/CVERecord?id=CVE-2026-73426), CVE Terms of Use, modified 2026-08-18
- GitHub Advisory Database: [GHSA-qmpg-8xg6-ph5q](https://github.com/advisories/GHSA-qmpg-8xg6-ph5q), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-73426](https://nvd.nist.gov/vuln/detail/CVE-2026-73426), Public domain, modified 2026-10-22

---

Page: https://cve.day/CVE-2026-73426 · Whole record: https://cve.day/CVE-2026-73426.json · Rebuilt by cve.day 2026-11-25T22:59:33.493Z
