CVE-2019-20920

unknown
Published 2022-02-10 ยท Modified 2026-03-13
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

Description

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).

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed3:4.5.3-1
debian debianbullseyefixed3:4.5.3-1
debian debianforkyfixed3:4.5.3-1
debian debiansidfixed3:4.5.3-1
debian debiantrixiefixed3:4.5.3-1

Package impact

EcosystemPackageVulnerableFixed
npm npmhandlebars<3.0.83.0.8
npm npmhandlebars>=4.0.0,<4.5.34.5.3

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.