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-2020-12265 Vulnerability in maven package org.webjars.npm:decompress-tar
CVE-2019-19771 Vulnerability in npm package we3b
CVE-2021-23438 Vulnerability in npm package mpath
CVE-2021-4307 Vulnerability in npm package baobab
CVE-2022-39353 Vulnerability in maven package org.webjars.npm:xmldom__xmldom