Prototype pollution
In JavaScript, untrusted keys such as __proto__ or constructor.prototype modify a shared object prototype and change the behavior of every object that inherits from it (CWE-1321).
- Defined in
- MITRE CWE-1321
- Identifiers
- CWE-1321: Prototype pollution
Covered in
Practice: Local project: Stop prototype pollution at merge and authorization boundaries