VariantIncomplete
CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Category: other
Description
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
Common consequences· 2
- Confidentiality / Integrity / Availability — Read Application Data, Modify Application DataThis weakness is usually exploited by using a special attribute of objects called proto, constructor, or prototype. Such attributes give access to the object prototype. An attacker can inject attributes that are used in other components by adding or modifying attributes of an object prototype. This creates attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the product depends on existence or non-existence of certain attributes, or uses pre-defined attributes of the object prototype (such as hasOwnProperty, toString, or valueOf).
- Availability — DoS: Crash, Exit, or RestartAn attacker can override existing attributes with ones that have incompatible type, which may lead to a crash.
Potential mitigations· 5
- [Implementation]By freezing the object prototype first (for example, Object.freeze(Object.prototype)), modification of the prototype becomes impossible.
- [Architecture and Design]By blocking modifications of attributes that resolve to object prototype, such as proto or prototype, this weakness can be mitigated.
- [Implementation]When handling untrusted objects, validating using a schema can be used.
- [Implementation]By using an object without prototypes (via Object.create(null) ), adding object prototype attributes by accessing the prototype via the special attributes becomes impossible, mitigating this weakness.
- [Implementation]Map can be used instead of objects in most cases. If Map methods are used instead of object attributes, it is not possible to access the object prototype or modify it.
Related CAPEC attack patterns· 3
References
Exploits (incoming)3
| Type | Target | Confidence | Tier |
|---|---|---|---|
| AttackPattern | Manipulating User-Controlled Variablescapec-77 | 100% | live |
| AttackPattern | Exploiting Incorrectly Configured Access Control Security Levelscapec-180 | 100% | live |
| AttackPattern | Accessing Functionality Not Properly Constrained by ACLscapec-1 | 100% | live |
(incoming)44
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-25014cve-2025-25014 | 0% | live |
| Vulnerability | CVE-2025-25015cve-2025-25015 | 0% | live |
| Vulnerability | CVE-2025-25977cve-2025-25977 | 0% | live |
| Vulnerability | CVE-2025-3982cve-2025-3982 | 0% | live |
| Vulnerability | CVE-2025-49223cve-2025-49223 | 0% | live |
| Vulnerability | CVE-2025-5150cve-2025-5150 | 0% | live |
| Vulnerability | CVE-2025-57321cve-2025-57321 | 0% | live |
| Vulnerability | CVE-2025-57347cve-2025-57347 | 0% | live |
| Vulnerability | CVE-2025-57350cve-2025-57350 | 0% | live |
| Vulnerability | CVE-2025-61140cve-2025-61140 | 0% | live |
| Vulnerability | CVE-2025-63703cve-2025-63703 | 0% | live |
| Vulnerability | CVE-2025-63704cve-2025-63704 | 0% | live |
| Vulnerability | CVE-2025-66456cve-2025-66456 | 0% | live |
| Vulnerability | CVE-2025-8083cve-2025-8083 | 0% | live |
| Vulnerability | CVE-2026-21854cve-2026-21854 | 0% | live |
| Vulnerability | CVE-2026-23736cve-2026-23736 | 0% | live |
| Vulnerability | CVE-2026-24888cve-2026-24888 | 0% | live |
| Vulnerability | CVE-2026-25047cve-2026-25047 | 0% | live |
| Vulnerability | CVE-2026-25142cve-2026-25142 | 0% | live |
| Vulnerability | CVE-2026-25150cve-2026-25150 | 0% | live |
| Vulnerability | CVE-2026-25521cve-2026-25521 | 0% | live |
| Vulnerability | CVE-2026-25881cve-2026-25881 | 0% | live |
| Vulnerability | CVE-2026-26021cve-2026-26021 | 0% | live |
| Vulnerability | CVE-2026-27837cve-2026-27837 | 0% | live |
| Vulnerability | CVE-2026-28794cve-2026-28794 | 0% | live |
| Vulnerability | CVE-2026-29063cve-2026-29063 | 0% | live |
| Vulnerability | CVE-2026-2964cve-2026-2964 | 0% | live |
| Vulnerability | CVE-2026-32621cve-2026-32621 | 0% | live |
| Vulnerability | CVE-2026-33228cve-2026-33228 | 0% | live |
| Vulnerability | CVE-2026-33696cve-2026-33696 | 0% | live |
Showing top 30 of 44 by confidence. Click any target to see the full neighbourhood.
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.