Cross-site Scripting (XSS) Affecting node-ejs package, versions <2.5.7-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIANUNSTABLE-NODEEJS-2806247
  • published30 Apr 2022
  • disclosed17 Nov 2017

Introduced: 17 Nov 2017

CVE-2017-1000188  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:unstable node-ejs to version 2.5.7-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-ejs package and not the node-ejs package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection