npmWorst: Critical5 advisories

ejs: known vulnerabilities

ejs has 5 reviewed security advisories in the GitHub Advisory Database — 2 critical, 1 high, 2 moderate. The most recent was published 2024-04-28. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the ejs versions running across your servers, containers and images, and ranks what to patch first.

How to fix ejs

Upgrade ejs to a release at or above the fixed version shown for each advisory below. For npm:

npm install ejs@3.1.10 (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 (5)

ejs lacks certain pollution protection Moderate 4.0 CWE-1321 CWE-693 — Affected: before 3.1.10. Fixed in 3.1.10. Published 2024-04-28. GHSA-ghr5-ch3p-vcr6 · CVE-2024-33883
ejs is vulnerable to remote code execution due to weak input validation Critical 9.8 CWE-20 — Affected: before 2.5.5. Fixed in 2.5.5. Published 2017-11-30. GHSA-3w5v-p54c-f74x · CVE-2017-1000228

Find ejs 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.