{"id":"GHSA-765h-qjxv-5f44","summary":"Prototype Pollution in handlebars","details":"The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to compile templates coming from an untrusted source.","aliases":["CVE-2021-23383"],"modified":"2026-07-17T21:14:36.224704598Z","published":"2022-02-10T23:51:42Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-05-19T21:17:59Z","nvd_published_at":"2021-05-04T09:15:00Z","cwe_ids":["CWE-1321"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23383"},{"type":"WEB","url":"https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427"},{"type":"PACKAGE","url":"https://github.com/handlebars-lang/handlebars.js"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/handlebars-source/CVE-2021-23383.yml"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210618-0007"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1279031"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1279032"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279030"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1279029"},{"type":"WEB","url":"https://www.npmjs.com/package/handlebars"}],"affected":[{"package":{"name":"handlebars","ecosystem":"npm","purl":"pkg:npm/handlebars"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.7.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-765h-qjxv-5f44/GHSA-765h-qjxv-5f44.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}