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.
2021
10 pointsNew this year3
Client-side prototype pollution leading to DOM XSS in web front ends appeared as a distinct pattern.
Kibana's SIEM signal feature, which merged machine-learning anomaly influencer field names into objects, was reported.
Seen in 1 report
-
$5,000 Critical
-
Mermaid diagram directives in GitLab issues, where a directive JSON object is merged into config, were reported.
Seen in 1 report
Kept working6
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
They targeted deep clone and object utility packages such as klona, chart.js config handling, i18next, noble and firebase util.
Seen in 2 reports
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
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.
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
-
$5,000 Critical
-
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
Path-setting helpers, which were prominent in 2018 and 2020, were not represented in the 2021 reports.
Seen in 7 reports