Prototype Pollution

Affects Node.js

Prototype pollution happens at some unsafe merge, clone, extend and path assignment operations on malicious JSON objects.

  • This is exploitable only if any of the following three happens:

    • Object recursive merge

    • Property definition by path

    • Object clone

  • Some of the most popular libraries being affected are lodash and Hoek

  • Templates are a good target for prototype pollution.


Payloads

Last updated