GHSA-w457-6q6x-cgp9

Prototype Pollution in handlebars

At a glance

Published
Updated
CVE
CVE-2019-19919
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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.

Affected packages

PackageVersions
npm · handlebarsintroduced 4.0.0, fixed 4.3.0
RubyGems · bootstrap-wysihtml5-railsintroduced 0.3.3.5, last affected 0.3.3.8
npm · handlebarsintroduced 0, fixed 3.0.8

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database