Advisory

GHSA-w457-6q6x-cgp9

Also known as: CVE-2019-19919

Summary

Prototype Pollution in handlebars

Details

Versions of handlebars prior to 3.0.8 or 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Objects' __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payloads.

Recommendation

Upgrade to version 3.0.8, 4.3.0 or later.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2019-12-26 17:58 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

handlebars

npm · All systems

Affected

  • introduced 4.0.0, fixed 4.3.0 (semver)

Fixed versions

4.3.0

Fix

bootstrap-wysihtml5-rails

RubyGems · All systems

Affected

  • introduced 0.3.3.5, last affected 0.3.3.8 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

handlebars

npm · All systems

Affected

  • introduced 0, fixed 3.0.8 (semver)

Fixed versions

3.0.8

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