trix vulnerabilities

A rich text editor for everyday writing

Registry
npm
Latest
2.1.19
License
MIT

9 known advisories

The latest version, 2.1.19, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install trix@2.1.19

Is your project on an affected trix?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for trix

  • MediumCVE-2026-73428GHSA-53g2-mvcc-q9x324 Jul 2026

    Trix: Stored XSS via HTMLParser attribute injection on paste

    Affected
    <2.1.18
    Fixed in
    2.1.18
  • LowCVE-2026-73427GHSA-53p3-c7vp-4mcc29 Mar 2026

    Trix is vulnerable to XSS through JSON deserialization bypass in drag-and-drop (Level0InputController)

    Affected
    <2.1.18
    Fixed in
    2.1.18
  • MediumCVE-2026-73426GHSA-qmpg-8xg6-ph5q12 Mar 2026

    Trix has a Stored XSS vulnerability through serialized attributes

    Affected
    <2.1.17
    Fixed in
    2.1.17
  • MediumGHSA-g9jg-w8vm-g96v31 Dec 2025

    Trix has a stored XSS vulnerability through its attachment attribute

    Affected
    <2.1.16
    Fixed in
    2.1.16
  • LowCVE-2025-46812GHSA-mcrw-746g-9q8h8 May 2025

    Trix vulnerable to Cross-site Scripting on copy & paste

    Affected
    <2.1.15
    Fixed in
    2.1.15
  • MediumCVE-2025-21610GHSA-j386-3444-qgwg3 Jan 2025

    Trix allows Cross-site Scripting via `javascript:` url in a link

    Affected
    <2.1.12
    Fixed in
    2.1.12
  • MediumCVE-2024-53847GHSA-6vx4-v2jw-qwqh9 Dec 2024

    Trix editor subject to XSS vulnerabilities on copy & paste

    Affected
    >=2.0.0 <2.1.9 · >=1.0.0 <1.3.3
    Fixed in
    1.3.3, 2.1.9
  • MediumCVE-2024-43368GHSA-qm2q-9f3q-2vcv14 Aug 2024

    Trix has a cross-site Scripting vulnerability on copy & paste

    Affected
    <2.1.4
    Fixed in
    2.1.4
  • MediumCVE-2024-34341GHSA-qjqp-xr96-cj997 May 2024

    Trix Editor Arbitrary Code Execution Vulnerability

    Affected
    >=2.0.0 <2.1.1 · >=0.9.0 <1.3.2
    Fixed in
    1.3.2, 2.1.1

Is your trix version vulnerable?

Which of your client projects still run an old trix?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.