ejs vulnerabilities

Embedded JavaScript templates

Registry
npm
Latest
7.0.2
License
Apache-2.0

5 known advisories

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

Update to the latest version:npm install ejs@7.0.2

Security advisories for ejs

  • MediumGHSA-ghr5-ch3p-vcr628 Apr 2024

    ejs lacks certain pollution protection

    Affected
    <3.1.10
    Fixed in
    3.1.10
  • CriticalGHSA-phwq-j96m-2c2q26 Apr 2022

    ejs template injection vulnerability

    Affected
    <3.1.7
    Fixed in
    3.1.7
  • HighGHSA-6x77-rpqf-j6mw5 Mar 2018

    ejs vulnerable to DoS due to weak input validation

    Affected
    <2.5.5
    Fixed in
    2.5.5
  • CriticalGHSA-3w5v-p54c-f74x30 Nov 2017

    ejs is vulnerable to remote code execution due to weak input validation

    Affected
    <2.5.5
    Fixed in
    2.5.5
  • MediumGHSA-hwcf-pp87-7x6p30 Nov 2017

    mde ejs vulnerable to XSS

    Affected
    <2.5.5
    Fixed in
    2.5.5

Which of your client projects still run an old ejs?

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.