Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/trix@2.1.17
purl pkg:npm/trix@2.1.17
Vulnerabilities affecting this package (0)
Vulnerability Summary Fixed by
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-k8n9-p3pp-8fh7 Trix has a Stored XSS vulnerability through serialized attributes ### Impact The 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. An 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. ### Patches Update Recommendation: Users should upgrade to Trix editor version 2.1.17 or later. ### References The XSS vulnerability was responsibly reported by Hackerone researcher [newbiefromcoma](https://hackerone.com/newbiefromcoma). GHSA-qmpg-8xg6-ph5q

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-17T00:37:08.182641+00:00 GitLab Importer Fixing VCID-k8n9-p3pp-8fh7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/trix/GHSA-qmpg-8xg6-ph5q.yml 38.4.0
2026-04-12T21:33:38.382040+00:00 GitLab Importer Fixing VCID-k8n9-p3pp-8fh7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/trix/GHSA-qmpg-8xg6-ph5q.yml 38.3.0
2026-04-02T17:01:04.563483+00:00 GHSA Importer Fixing VCID-k8n9-p3pp-8fh7 https://github.com/advisories/GHSA-qmpg-8xg6-ph5q 38.1.0
2026-04-01T12:54:10.908402+00:00 GithubOSV Importer Fixing VCID-k8n9-p3pp-8fh7 https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-qmpg-8xg6-ph5q/GHSA-qmpg-8xg6-ph5q.json 38.0.0