Prototype Pollution
Exploit recursive property setting functions with special .__proto__ and .prototype options to add fallbacks to other property accesses
Description
const obj = {};
obj.__proto__.name = "John";
console.log(obj.name); // John (this object will now get a .name property)
const newObj = {};
console.log(newObj.name); // John (prototype was used as fallback)
const newFilledObj = { name: "Jane" };
console.log(newFilledObj.name); // Jane (won't replace existing properties)Bypassing filters using constructor.prototype
constructor.prototypeSinks (Gadgets)
Server-Side Prototype Pollution
Last updated

