Skip to content

ejs lacks certain pollution protection

Moderate
nxglabs published GHSA-wj32-jgc6-x7jp May 16, 2024

Package

npm ejs (npm)

Affected versions

< 3.1.10

Patched versions

3.1.10

Description

The ejs (aka Embedded JavaScript templates) package before 3.1.10 for Node.js lacks certain pollution protection.

Severity

Moderate

CVE ID

No known CVE

Weaknesses

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. Learn more on MITRE.

Credits