handlebars-lang/handlebars.js · Security
Prototype Pollution in handlebars
- GHSA ID
- GHSA-765h-qjxv-5f44
- CVE ID
- CVE-2021-23383
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23383 ↗
- https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427 ↗
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1279031 ↗
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1279032 ↗
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279030 ↗
- https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1279029 ↗
- https://www.npmjs.com/package/handlebars ↗
- https://security.netapp.com/advisory/ntap-20210618-0007/ ↗
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/handlebars-source/CVE-2021-23383.yml ↗
- https://github.com/advisories/GHSA-765h-qjxv-5f44 ↗