pug-code-gen vulnerabilities

Default code-generator for pug. It generates HTML via a JavaScript template function.

Registry
npm
Latest
3.0.4
License
MIT

2 known advisories

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

Update to the latest version:npm install pug-code-gen@3.0.4

Security advisories for pug-code-gen

  • MediumGHSA-3965-hpx2-q59724 May 2024

    Pug allows JavaScript code execution if an application accepts untrusted input

    Affected
    <3.0.3
    Fixed in
    3.0.3
  • MediumGHSA-p493-635q-r6gr3 Mar 2021

    Remote code execution via the `pretty` option.

    Affected
    <2.0.3 · >=3.0.0 <3.0.2
    Fixed in
    2.0.3, 3.0.2

Which of your client projects still run an old pug-code-gen?

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.