Skip to content
OpenAdvisories
Medium · 5.6 Public exploit CVE-2021-23383 EUVD-2022-0882GHSA-765h-qjxv-5f44

Prototype Pollution

Published May 4, 2021 · Updated Oct 8, 2026 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— handlebars unspecified – < 4.7.7 4.7.7

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-handlebars 3:4.7.6+~4.1.0-2 —
Debian 13 node-handlebars 3:4.7.6+~4.1.0-2 —
Debian 12 node-handlebars 3:4.7.6+~4.1.0-2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-handlebars No fix yet —
Ubuntu 26.04 LTS node-handlebars No fix yet —
Ubuntu 25.10 node-handlebars No fix yet —
Ubuntu 24.04 LTS node-handlebars No fix yet —
Ubuntu 22.04 LTS node-handlebars No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-handlebars No fix yet —
Ubuntu 18.04 LTS node-handlebars No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

  • fazilbaig1/CVE-2021-23383 ★ 2 · Oct 19, 2024

    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.

  • dn9uy3n/Check-CVE-2021-23383 ★ 1 · Jun 28, 2021

    Check the conditions for exploiting CVE-2021-23383 through the handlebars library version assessment.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm handlebars < 4.7.7 4.7.7 GHSA-765h-qjxv-5f44

Advisories 2

References