Live threats

All CVEs / Ejs

CVE-2017-1000189Ejs

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Nov 17, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

nodejs ejs version older than 2.5.5 is vulnerable to a denial-of-service due to weak input validation in the ejs.renderFile()

Original NVD text.

What to do

  1. Apply the vendor's security update for Ejs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm ejs < 2.5.5 2.5.5 npm install ejs@2.5.5

Per OSV / GitHub Advisories (GHSA-6x77-rpqf-j6mw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ejsejs< 2.5.5

Official sources

References

Links published by the sources. Open them with care.