Vulnerability library
Security checkNovember 29, 2023

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmhandlebars

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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

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

  • Affected version(s): **< 3.0.7 >= 4.0.0, < 4.0.14 >= 4.1.0, < 4.1.2**
  • Patched version(s): **3.0.7 4.0.14 4.1.2**

References

Could your website be exposed too?

SmartScanner can check your website for Prototype Pollution in handlebars - handlebars - GHSA-q42p-pg8m-cqh6 and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated November 29, 2023