npmWorst: Moderate9 advisories
trix: known vulnerabilities
trix has 9 reviewed security advisories in the GitHub Advisory Database — 7 moderate, 2 low. The most recent was published 2026-07-24. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the trix versions running across your servers, containers and images, and ranks what to patch first.
How to fix trix
Upgrade trix to a release at or above the fixed version shown for each advisory below. For npm:
npm install trix@2.1.18 (or run npm audit fix)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (9)
Trix: Stored XSS via HTMLParser attribute injection on paste
Moderate 4.6 CWE-79
— Affected: before 2.1.18. Fixed in 2.1.18. Published 2026-07-24. GHSA-53g2-mvcc-q9x3 · CVE-2026-73428
Trix is vulnerable to XSS through JSON deserialization bypass in drag-and-drop (Level0InputController)
Low CWE-79
— Affected: before 2.1.18. Fixed in 2.1.18. Published 2026-03-29. GHSA-53p3-c7vp-4mcc · CVE-2026-73427
Trix has a Stored XSS vulnerability through serialized attributes
Moderate 4.6 CWE-79
— Affected: before 2.1.17. Fixed in 2.1.17. Published 2026-03-12. GHSA-qmpg-8xg6-ph5q · CVE-2026-73426
Trix has a stored XSS vulnerability through its attachment attribute
Moderate 4.6 CWE-79
— Affected: before 2.1.16. Fixed in 2.1.16. Published 2025-12-31. GHSA-g9jg-w8vm-g96v
Trix vulnerable to Cross-site Scripting on copy & paste
Low CWE-79
— Affected: before 2.1.15. Fixed in 2.1.15. Published 2025-05-08. GHSA-mcrw-746g-9q8h · CVE-2025-46812
Trix allows Cross-site Scripting via `javascript:` url in a link
Moderate 5.3 CWE-79
— Affected: before 2.1.12. Fixed in 2.1.12. Published 2025-01-03. GHSA-j386-3444-qgwg · CVE-2025-21610
Trix editor subject to XSS vulnerabilities on copy & paste
Moderate CWE-79
— Affected: from 1.0.0 up to 1.3.3. Fixed in 1.3.3. Published 2024-12-09. GHSA-6vx4-v2jw-qwqh · CVE-2024-53847
Trix has a cross-site Scripting vulnerability on copy & paste
Moderate 6.5 CWE-79
— Affected: before 2.1.4. Fixed in 2.1.4. Published 2024-08-14. GHSA-qm2q-9f3q-2vcv · CVE-2024-43368
Trix Editor Arbitrary Code Execution Vulnerability
Moderate 5.4 CWE-79
— Affected: from 0.9.0 up to 1.3.2. Fixed in 1.3.2. Published 2024-05-07. GHSA-qjqp-xr96-cj99 · CVE-2024-34341
Find trix across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.