Skip to content

In-depth lesson · Prototype pollution

Year by year: 2021

What the disclosed Prototype pollution reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 1 to 10 of 10 (of 52 in all)

Clear the search

2021

10 points

New this year3

  1. Client-side prototype pollution leading to DOM XSS in web front ends appeared as a distinct pattern.

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

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

    Seen in 1 report

Kept working6

  1. Hunters ran a clone or config-merge call over an object containing a prototype-named key and checked whether the clone's prototype was altered.

    Seen in 2 reports
  2. They targeted deep clone and object utility packages such as klona, chart.js config handling, i18next, noble and firebase util.

    Seen in 2 reports
  3. They fed a nested key named for the prototype into a merge or extend helper and checked whether a property appeared on all plain objects afterwards.

    Seen in 1 report
  4. They looked for a client-side sink that reads a property from the prototype and turns it into markup or script, then polluted that property through a query or fragment parameter.

    Seen in 1 report
  5. They wrote a crafted influencer field name into an anomaly index, imported a detection rule that uses it, enabled the rule and waited for evaluation.

    Seen in 1 report
  6. They added a Mermaid diagram with a directive that sets a prototype-named key in an issue, saved it and opened the issue to see whether the page broke.

    Seen in 1 report

Turned up less1

  1. Path-setting helpers, which were prominent in 2018 and 2020, were not represented in the 2021 reports.

    Seen in 7 reports