Skip to content

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.

Back to the lesson 1 to 20 of 20
  1. 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
  2. Object merge and extend helper packages on npm, where recursive merging of attacker-controlled keys reaches the prototype.

    Seen in 10 reports
  3. Deep clone and object utility packages such as klona, chart.js config handling, i18next, noble and firebase util.

    Seen in 5 reports
  4. Server-side prototype pollution in Node applications, including detection without denial of service.

    Seen in 3 reports
  5. Client-side prototype pollution leading to DOM XSS in web front ends.

    Seen in 2 reports
  6. Manual code review of merge and assignment logic in server code.

    Seen in 2 reports
  7. XML parsing libraries such as fast-xml-parser and xml2js that build objects from parsed input.

    Seen in 2 reports
  8. jQuery's extend function used to merge user-supplied objects.

    Seen in 1 report
  9. Kibana's upgrade assistant telemetry collector, which merged saved-object fields into nested properties.

    Seen in 1 report
  10. Kibana's SIEM signal feature, which merged machine-learning anomaly influencer field names into objects.

    Seen in 1 report
  11. Mermaid diagram directives in GitLab issues, where a directive JSON object is merged into config.

    Seen in 1 report
  12. HTML injection reached through prototype pollution on a public web property.

    Seen in 1 report
  13. EJS template rendering in Node, where polluted properties become gadgets for code execution.

    Seen in 1 report
  14. Node's console.table property handling.

    Seen in 1 report
  15. protobufjs message parsing and object construction.

    Seen in 1 report
  16. Ruby applications that recursively merge user-supplied JSON into an object's attributes.

    Seen in 1 report
  17. Prototype-style pollution in Python object handling, leading to denial of service.

    Seen in 1 report
  18. Blitz.js applications, where prototype pollution led to remote code execution.

    Seen in 1 report
  19. Outdated AngularJS loaded in production bundles.

    Seen in 1 report
  20. Widely downloaded npm packages used as transitive dependencies.

    Seen in 1 report