terser vulnerabilities

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Registry
npm
Latest
5.51.2
License
BSD-2-Clause

1 known advisory

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

Update to the latest version:npm install terser@5.51.2

Security advisories for terser

  • HighGHSA-4wf5-vphf-c2xc16 Jul 2022

    Terser insecure use of regular expressions leads to ReDoS

    Affected
    <4.8.1 · >=5.0.0 <5.14.2
    Fixed in
    4.8.1, 5.14.2

Which of your client projects still run an old terser?

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.