~ / search / GHSA-w457-6q6x-cgp9

GHSA-w457-6q6x-cgp9

Prototype Pollution in handlebars

Source: GitHub Advisory Database (reviewed) Critical CVE-2019-19919

Packages

EcosystemPackageAffectedFixed in
npm handlebars >= 4.0.0, < 4.3.0 4.3.0
RubyGems bootstrap-wysihtml5-rails >= 0.3.3.5, <= 0.3.3.8 no fix listed
npm handlebars < 3.0.8 3.0.8

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.