VDB
Sign up
HIGH7.3

GHSA-q42p-pg8m-cqh6

Prototype Pollution in handlebars

Quick fix

GHSA-q42p-pg8m-cqh6 — handlebars: upgrade to the fixed version with the command below.

npm install handlebars@4.1.2

Details

Versions of `handlebars` prior to 4.0.14 are vulnerable to Prototype Pollution. Templates may alter an Objects' prototype, thus allowing an attacker to execute arbitrary code on the server.

## Recommendation

For handlebars 4.1.x upgrade to 4.1.2 or later. For handlebars 4.0.x upgrade to 4.0.14 or later.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/handlebars
Introduced in: 4.1.0Fixed in: 4.1.2
Fixnpm install handlebars@4.1.2
npm/handlebars
Introduced in: 4.0.0Fixed in: 4.0.14
Fixnpm install handlebars@4.0.14
npm/handlebars
Introduced in: 0Fixed in: 3.0.7
Fixnpm install handlebars@3.0.7

References