ADVISORIES

GitHub Advisory Database

GHSA-f2jv-r9rf-7988

Remote code execution in handlebars when compiling templates

Critical CVE-2021-23369

Details

The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.

Affected packages

EcosystemPackageAffected versions
npmhandlebars
All versions before 4.7.7 (fixed in 4.7.7)
Mavenorg.webjars:handlebars
All versions before 4.7.7 (fixed in 4.7.7)
Mavenorg.webjars.npm:handlebars
All versions before 4.7.7 (fixed in 4.7.7)
Mavenorg.webjars.bowergithub.wycats:handlebars.js
All versions before 4.7.7 (fixed in 4.7.7)

References