Vulnerabilities/

Prototype Pollution in handlebars

Severity:
High

Description

Versions of handlebars prior to 3.0.8 or 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Objects’ __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payloads.

Recommendation

Update the handlebars package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
handlebars
Anything's wrong? Let us know Last updated on February 12, 2025