Prototype pollution
Prototype pollution is a class of vulnerabilities in prototype-based languages such as JavaScript runtimes that allows attackers to overwrite arbitrary properties in an object's root prototype. In a prototype pollution attack, attackers inject properties into existing JavaScript construct prototypes with unsafe merges. Prototype pollution can affect client-side and server-side runtimes. Using prototype pollution to modify properties called by gadgets could lead to Denial of Service (DoS) attacks, code execution, or privilege escalation.
Prototype pollution is a class of vulnerabilities in prototype-based languages such as JavaScript runtimes that allows attackers to overwrite arbitrary properties in an object's root prototype. In a prototype pollution attack, attackers inject properties into existing JavaScript construct prototypes with unsafe merges. Prototype pollution can affect client-side and server-side runtimes. Using prototype pollution to modify properties called by gadgets could lead to Denial of Service (DoS) attacks, code execution, or privilege escalation.
References
No reference rows published for this article.
Cite this article
MLA
"Prototype pollution." encyclopegia.org, 2026, https://encyclopegia.org/wiki/prototype-pollution. Accessed 24 November 2026.
Chicago
"Prototype pollution." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/prototype-pollution.
APA
encyclopegia.org. (2026). Prototype pollution. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/prototype-pollution
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON