Prototype Pollution: Examples
Imagine that an application uses an object to maintain configuration settings, like this:
let config = { isAdmin: false };An attacker might be able to add an
isAdminproperty toObject.prototype, like this:Object.prototype.isAdmin = true;
Comments
No comments yet.