Trix: Stored XSS vulnerability through serialized attributes
Published Aug 18, 2026
4.6
MEDIUMCVSS 3.1
EPSS 0.32%
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
-
- Version < 2.1.17StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
action_text-trix
RubyGems
Introduced 0 Fixed 2.1.17trix
npm
Introduced 0 Fixed 2.1.17
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| RubyGems | action_text-trix | 0 | 2.1.17 |
| npm | trix | 0 | 2.1.17 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Aug 18, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Aug–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.32% (0.00320) | 22.68th | v5 (v2026.06.15) |
| Aug 19, 2026 | 0.32% (0.00321) | 24.95th | v5 (v2026.06.15) |
References (7)
- https://github.com/advisories/GHSA-qmpg-8xg6-ph5q Advisory
- https://github.com/basecamp/trix/commit/3229c29c771ded4d247ed79b2ccd2cd05c4e74b4 x_refsource_MISC
- https://github.com/basecamp/trix/commit/53197ab5a142e6b0b76127cb790726b274eaf1bc x_refsource_MISC
- https://github.com/basecamp/trix/pull/1282 x_refsource_MISC
- https://github.com/basecamp/trix/releases/tag/v2.1.17 x_refsource_MISC
- https://github.com/basecamp/trix/security/advisories/GHSA-qmpg-8xg6-ph5q x_refsource_CONFIRM
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/action_text-trix/GHSA-qmpg-8xg6-ph5q.yml
Change history (0)
No recorded changes yet.