What is prototype pollution in Node.js and how can it affect application security?

Node.js Developer Hard

Node.js Developer — Hard

What is prototype pollution in Node.js and how can it affect application security?

Key points

  • Prototype pollution allows attackers to modify Object.prototype
  • Unsafe object merging or deep clone operations with user-controlled keys are common vectors
  • The attack can affect all objects in the application
  • RCE and privilege escalation are potential consequences

Ready to go further?

Related questions