Skip to content

GHSA-g9r4-xpmj-mj65 Prototype Pollution in handlebars

Unknown
Published
Updated
Exploit status
No public exploit known

Description

Versions of handlebars prior to 3.0.8 or 4.5.3 are vulnerable to prototype pollution. It is possible to add or modify properties to the Object prototype through a malicious template. This may allow attackers to crash the application or execute Arbitrary Code in specific conditions.

Recommendation

Upgrade to version 3.0.8, 4.5.3 or later.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm handlebars(npm) < 3.0.8; >= 4.0.0, < 4.5.3 3.0.8, 4.5.3 Fixed

Affected products

ProductAffected versionsFixed in
npm handlebars(npm) < 3.0.8 3.0.8
npm handlebars(npm) >= 4.0.0, < 4.5.3 4.5.3

References