Description
Versions of handlebars prior to 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Object's __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payloads.
Remediation
References
https://www.npmjs.com/advisories/1164
https://www.tenable.com/security/tns-2021-14
Related Vulnerabilities
CVE-2021-43801 Vulnerability in npm package mercurius
CVE-2016-10735 Vulnerability in maven package org.webjars.bowergithub.angular-ui:bootstrap
CVE-2016-10554 Vulnerability in npm package sequelize
CVE-2017-14868 Vulnerability in maven package org.restlet.osgi:org.restlet
CVE-2022-31151 Vulnerability in maven package org.webjars.npm:undici