# JSON Poisoning

> What is JSON poisoning? Explain how duplicate keys, prototype pollution and oversized payloads can be used to attack an API.

Canonical: https://www.internhack.in/learn/interview/web-security/security-json-poisoning
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

What is JSON poisoning? Explain how duplicate keys, prototype pollution and oversized payloads can be used to attack an API.

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

JSON Duplicate Keys, Parser Differentials, Prototype Pollution, JSON DoS, Schema Validation

Previous: [Insecure Deserialization](https://www.internhack.in/learn/interview/web-security/security-insecure-deserialization) · Next: [Directory Traversal](https://www.internhack.in/learn/interview/web-security/security-directory-traversal) · [All of Web Security (OWASP, JWT, XSS, CSRF)](https://www.internhack.in/learn/interview/web-security)

## More Web Security (OWASP, JWT, XSS, CSRF) questions

- [Principle of Least Privilege](https://www.internhack.in/learn/interview/web-security/security-least-privilege)
- [Zero Trust](https://www.internhack.in/learn/interview/web-security/security-zero-trust-architecture)
- [CSP: Content Security Policy](https://www.internhack.in/learn/interview/web-security/security-content-security-policy)
- [Subresource Integrity (SRI)](https://www.internhack.in/learn/interview/web-security/security-subresource-integrity)
- [Same-Origin Policy (SOP)](https://www.internhack.in/learn/interview/web-security/security-same-origin-policy)
- [Brute Force Protection](https://www.internhack.in/learn/interview/web-security/security-brute-force-vulnerability)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Web Security (OWASP, JWT, XSS, CSRF)](https://www.internhack.in/learn/interview/web-security)
