What’s Vulnerable › Vulnerabilities

GHSA-q42p-pg8m-cqh6: Prototype Pollution in handlebars

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.

Affected products

How to fix

Upgrade to a fixed version: Npm Handlebars 4.1.2, 4.0.14, 3.0.7. Check the vendor advisory for mitigations.

References

Get alerted when GHSA-q42p-pg8m-cqh6 or the next vulnerability affects your stack