Advisory

GHSA-g9r4-xpmj-mj65

Also known as: None

Summary

Prototype Pollution in handlebars

Details

Versions of handlebars prior to 3.0.8 or 4.5.3 are vulnerable to prototype pollution. It is possible to add or modify properties to the Object prototype through a malicious template. This may allow attackers to crash the application or execute Arbitrary Code in specific conditions.

Recommendation

Upgrade to version 3.0.8, 4.5.3 or later.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-04 15:06 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

handlebars

npm · All systems

Affected

  • introduced 0, fixed 3.0.8 (semver)

Fixed versions

3.0.8

Fix

handlebars

npm · All systems

Affected

  • introduced 4.0.0, fixed 4.5.3 (semver)

Fixed versions

4.5.3

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