Code executionin the handlebars package.
No public exploit found; not on exploited lists.
Handlebars before 3.0.8 and 4.x before 4.5.3 is vulnerable to Arbitrary Code Execution. The lookup helper fails to properly validate templates, allowing attackers to submit templates that execute arbitrary JavaScript. This can be used to run arbitrary code on a server processing Handlebars templates or in a victim's browser (effectively serving as XSS).
- Upgrade handlebars (npm) to 3.0.8, 4.5.3 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 30 Sep 2020CVE ID reserved by mitre.
- 30 Sep 2020Published in the CVE List.
- 8 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other vulnerabilities in this package
- www.npmjs.com x_refsource_MISC
- www.npmjs.com x_refsource_MISC
- snyk.io x_refsource_MISC
Patchminder. CVE-2019-20920: Code execution in the handlebars package. https://patchminder.com/cve/cve-2019-20920/ (accessed 5 December 2026).