Advisory

GHSA-f2jv-r9rf-7988

Also known as: CVE-2021-23369

Summary

Remote code execution in handlebars when compiling templates

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-05-06 15:57 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

handlebars

npm · All systems

Affected

  • introduced 0, fixed 4.7.7 (semver)

Fixed versions

4.7.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences