Search for packages
Package details: pkg:npm/handlebars@4.0.0
purl pkg:npm/handlebars@4.0.0
Vulnerabilities affecting this package (0)
Vulnerability Summary Fixed by
This package is not known to be affected by vulnerabilities.
Vulnerabilities fixed by this package (2)
Vulnerability Summary Aliases
VCID-f85q-ybzg-t3ew Moderate severity vulnerability that affects handlebars **Withdrawn:** Duplicate of GHSA-9prh-257w-9277 GHSA-fmr4-7g9q-7hc7
VCID-qjpg-1sgr-kkcf Cross-Site Scripting in handlebars Versions of `handlebars` prior to 4.0.0 are affected by a cross-site scripting vulnerability when attributes in handlebar templates are not quoted. ## Proof of Concept Template: ```<a href={{foo}}/>``` Input: ```{ 'foo' : 'test.com onload=alert(1)'}``` Rendered result: ```<a href=test.com onload=alert(1)/>``` ## Recommendation Update to version 4.0.0 or later. Alternatively, ensure that all attributes in handlebars templates are encapsulated with quotes. CVE-2015-8861
GHSA-9prh-257w-9277