GitHub Advisoryadvisory · npm
GHSA-g9r4-xpmj-mj65 Prototype Pollution in handlebars
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- handlebars
- Severity
- High
- Weaknesses
- CWE-1321
- Reviewed
- 2020-08-31
Affected packages
• npm handlebars: < 3.0.8 → fixed in 3.0.8
• npm handlebars: >= 4.0.0, < 4.5.3 → fixed in 4.5.3
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.
Related
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness