Skip to content
OpenAdvisories
Medium · 4.6 CVE-2026-73426 EUVD-2026-60825GHSA-qmpg-8xg6-ph5q

Trix: Stored XSS vulnerability through serialized attributes

Published Aug 18, 2026 · Updated Aug 18, 2026 · 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.

Affected products

VendorProductAffectedFixed
basecamp trix < 2.1.17 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ruby3.2-rails-8.1 8.1.3-r0 —
Wolfi rolling ruby3.3-rails-8.1 +2 8.1.2.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm trix < 2.1.17 2.1.17 GHSA-qmpg-8xg6-ph5q
RubyGems action_text-trix < 2.1.17 2.1.17 GHSA-qmpg-8xg6-ph5q

References