In-depth lesson · Prototype pollution
Where it is found
Every point the Prototype pollution reports back under this heading, best-backed first, each with the reports it is seen in.
-
Libraries that set a value at a dotted or array property path, such as dot-prop, object-path-set, nested-property, ts-dot-prop, property-expr, keyd, objtools, mpath, utils-extend, extend-merge, supermixer, json8-merge-patch and plain-object-merge.
Seen in 13 reports
-
Object merge and extend helper packages on npm, where recursive merging of attacker-controlled keys reaches the prototype.
Seen in 10 reports
-
Deep clone and object utility packages such as klona, chart.js config handling, i18next, noble and firebase util.
Seen in 5 reports
-
Server-side prototype pollution in Node applications, including detection without denial of service.
Seen in 3 reports
-
Client-side prototype pollution leading to DOM XSS in web front ends.
-
Manual code review of merge and assignment logic in server code.
-
XML parsing libraries such as fast-xml-parser and xml2js that build objects from parsed input.
Seen in 2 reports
-
jQuery's extend function used to merge user-supplied objects.
Seen in 1 report
-
Kibana's upgrade assistant telemetry collector, which merged saved-object fields into nested properties.
Seen in 1 report
-
$10,000 Critical
-
-
Kibana's SIEM signal feature, which merged machine-learning anomaly influencer field names into objects.
Seen in 1 report
-
$5,000 Critical
-
-
Mermaid diagram directives in GitLab issues, where a directive JSON object is merged into config.
Seen in 1 report
-
HTML injection reached through prototype pollution on a public web property.
Seen in 1 report
-
EJS template rendering in Node, where polluted properties become gadgets for code execution.
Seen in 1 report
-
Node's console.table property handling.
Seen in 1 report
-
protobufjs message parsing and object construction.
-
Ruby applications that recursively merge user-supplied JSON into an object's attributes.
-
Prototype-style pollution in Python object handling, leading to denial of service.
Seen in 1 report
-
Blitz.js applications, where prototype pollution led to remote code execution.
Seen in 1 report
-
Outdated AngularJS loaded in production bundles.
Seen in 1 report
-
Widely downloaded npm packages used as transitive dependencies.