Skip to content

GHSA-q42p-pg8m-cqh6 Prototype Pollution in handlebars

HighCVSS 7.3
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm handlebars(npm) < 3.0.7; >= 4.0.0, < 4.0.14; >= 4.1.0, < 4.1.2 3.0.7, 4.0.14, 4.1.2 Fixed

Affected products

ProductAffected versionsFixed in
npm handlebars(npm) >= 4.1.0, < 4.1.2 4.1.2
npm handlebars(npm) >= 4.0.0, < 4.0.14 4.0.14
npm handlebars(npm) < 3.0.7 3.0.7

References