---
id: CVE-2026-73426
title: Trix is a what-you-see-is-what-you-get rich text editor for everyday writing
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 …
severity: medium
cvss: 4.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-08-18'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73426'
references:
  - url: >-
      https://github.com/basecamp/trix/commit/3229c29c771ded4d247ed79b2ccd2cd05c4e74b4
    label: security-advisories@github.com
  - url: >-
      https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc
    label: security-advisories@github.com
  - url: 'https://github.com/basecamp/trix/pull/1282'
    label: security-advisories@github.com
  - url: 'https://github.com/basecamp/trix/releases/tag/v2.1.17'
    label: security-advisories@github.com
  - url: 'https://github.com/basecamp/trix/security/advisories/GHSA-qmpg-8xg6-ph5q'
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-73426.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-73426'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-73426'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73426'
tags:
  - nvd
  - csaf
  - vex
  - red-hat
epss: 0.0032
epssPercentile: 0.22392
ingestedAt: '2026-09-18T20:51:25.630Z'
vendor: Red Hat
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · updated 2026-09-24 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-73426.json)
