Skip to content
Fencer Intel
high —

GHSA-g9r4-xpmj-mj65 json

Prototype Pollution in handlebars

published 6y ago modified 2mo ago

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

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.

Patch / fix

  • npm handlebars 3.0.8, 4.5.3

Is GHSA-g9r4-xpmj-mj65 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
npm handlebars
<3.0.8
>=4.0.0, <4.5.3
3.0.8
4.5.3

Classification

Weakness
  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.