cve.bz

CWE-1321: Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution), published in 2021

Filter

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.

What the weakness is: CWE-1321 at MITRE. All weaknesses

Related attack patterns (CAPEC): 3
  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to CWE-1321, as MITRE names them. Credits.

Ask an AI about CWE-1321

Show the promptExplain CWE-1321: Improperly Controlled Modification of Object Prototype Attributes and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1321.html and https://cve.bz/cve/cwe/1321?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 9.8CVE-2021-23574js-dataEPSS 2.2%

    All versions of package js-data are vulnerable to Prototype Pollution via the deepFillIn and the set functions. This is an incomplete fix of [CVE-2020-28442](https://snyk.io/vuln/SNYK-JS-JSDATA-1023655).

  2. 9.8CVE-2021-23450EPSS 30%

    All versions of package dojo are vulnerable to Prototype Pollution via the setObject function.

  3. 9.8CVE-2021-23700merge-deep2 project merge-deep2EPSS 1.2%

    All versions of package merge-deep2 are vulnerable to Prototype Pollution via the mergeDeep() function.

  4. 9.8CVE-2021-23663sey project seyEPSS 1.2%

    All versions of package sey are vulnerable to Prototype Pollution via the deepmerge() function.

  5. 9.8CVE-2021-23561c2fo combEPSS 1.2%

    All versions of package comb are vulnerable to Prototype Pollution via the deepMerge() function.

  6. 9.8CVE-2021-3815utils.js project utils.jsEPSS 0.9%

    utils.js is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  7. 6.1CVE-2021-43787nodebbEPSS 1.3%

    Nodebb is an open source Node.js based forum software. In affected versions a prototype pollution vulnerability in the uploader module allowed a malicious user to inject arbitrary data (i.e. javascript) into the DOM, theoretically allowing…

  8. 9.8CVE-2021-23433algolia algoliasearch-helperEPSS 1.9%

    The package algoliasearch-helper before 3.6.2 are vulnerable to Prototype Pollution due to use of the merge function in src/SearchParameters/index.jsSearchParameters._parseNumbers without any protection against prototype properties. Note t…

  9. 9.8CVE-2021-3918EPSS 3.8%

    json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  10. 9.8CVE-2021-23452binaryops x-assignEPSS 1.6%

    This affects all versions of package x-assign. The global proto object can be polluted using the __proto__ object.

  11. 10.0CVE-2021-23449vm2 project vm2EPSS 3.6%

    This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitrary code on the host machine.

  12. 9.8CVE-2021-23448config-handler project config-handlerEPSS 1.2%

    All versions of package config-handler are vulnerable to Prototype Pollution when loading config files.

  13. 7.5CVE-2021-41097bluespire aurelia-pathEPSS 4.9%

    aurelia-path is part of the Aurelia platform and contains utilities for path manipulation. There is a prototype pollution vulnerability in aurelia-path before version 1.1.7. The vulnerability exposes Aurelia application that uses `aurelia-…

  14. 9.8CVE-2021-39227baidu zrenderEPSS 1.3%

    ZRender is a lightweight graphic library providing 2d draw for Apache ECharts. In versions prior to 5.2.1, using `merge` and `clone` helper methods in the `src/core/util.ts` module results in prototype pollution. It affects the popular dat…

  15. 9.8CVE-2021-23442cookiex-deep project cookiex-deepEPSS 1.6%

    This affects all versions of package @cookiex/deep. The global proto object can be polluted using the __proto__ object.

  16. 7.5CVE-2021-3805EPSS 2.0%

    object-path is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  17. 6.1CVE-2021-392058x8 jitsi meetEPSS 1.2%

    Jitsi Meet is an open source video conferencing application. Versions prior to 2.0.6173 are vulnerable to client-side cross-site scripting via injecting properties into JSON objects that were not properly escaped. There are no known incide…

  18. 9.8CVE-2021-3666xml body parser project xml body parserEPSS 1.3%

    body-parser-xml is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  19. 9.8CVE-2021-3645merge project mergeEPSS 1.4%

    merge is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  20. 9.8CVE-2021-3766objection project objectionEPSS 1.6%

    objection.js is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  21. 9.8CVE-2021-3757immer project immerEPSS 1.7%

    immer is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  22. 9.8CVE-2021-23421merge-change project merge-changeEPSS 1.1%

    All versions of package merge-change are vulnerable to Prototype Pollution via the utils.set function.

  23. 9.8CVE-2021-23419open-graph project open-graphEPSS 1.1%

    This affects the package open-graph before 0.2.6. The function parse could be tricked into adding or modifying properties of Object.prototype using a __proto__ or constructor payload.

  24. 7.2CVE-2021-32811zopeEPSS 2.3%

    Zope is an open-source web application server. Zope versions prior to versions 4.6.3 and 5.3 have a remote code execution security issue. In order to be affected, one must use Python 3 for one's Zope deployment, run Zope 4 below version 4.…

  25. 7.2CVE-2021-32807zope accesscontrolEPSS 2.1%

    The module `AccessControl` defines security policies for Python code used in restricted code within Zope applications. Restricted code is any code that resides in Zope's object database, such as the contents of `Script (Python)` objects. T…

  26. 9.8CVE-2021-23417deepmergefn project deepmergefnEPSS 1.1%

    All versions of package deepmergefn are vulnerable to Prototype Pollution via deepMerge function.

  27. 4.3CVE-2021-23408graphhopperEPSS 1.4%

    This affects the package com.graphhopper:graphhopper-web-bundle before 3.2, from 4.0-pre1 and before 4.0. The URL parser could be tricked into adding or modifying properties of Object.prototype using a constructor or __proto__ payload.

  28. 9.8CVE-2021-25953putil-merge project putil-mergeEPSS 3.0%

    Prototype pollution vulnerability in 'putil-merge' versions1.0.0 through 3.6.6 allows attacker to cause a denial of service and may lead to remote code execution.

  29. 9.8CVE-2021-25952just-safe-set project just-safe-setEPSS 3.3%

    Prototype pollution vulnerability in ‘just-safe-set’ versions 1.0.0 through 2.2.1 allows an attacker to cause a denial of service and may lead to remote code execution.

  30. 9.8CVE-2021-23403ts-nodash project ts-nodashEPSS 1.3%

    All versions of package ts-nodash are vulnerable to Prototype Pollution via the Merge() function due to lack of validation input.

  31. 9.8CVE-2021-23402record-like-deep-assign project record-like-deep-assignEPSS 1.2%

    All versions of package record-like-deep-assign are vulnerable to Prototype Pollution via the main functionality.

  32. 7.5CVE-2021-32736thinkjs think-helperEPSS 1.0%

    think-helper defines a set of helper functions for ThinkJS. In versions of think-helper prior to 1.1.3, the software receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, bu…

  33. 9.8CVE-2021-23396lutils project lutilsEPSS 1.0%

    All versions of package lutils are vulnerable to Prototype Pollution via the main (merge) function.

  34. 7.5CVE-2020-24939stampit supermixerEPSS 1.7%

    Prototype pollution in Stampit supermixer 1.0.3 allows an attacker to modify the prototype of a base object which can vary in severity depending on the implementation.

  35. 5.3CVE-2021-23395nedb project nedbEPSS 0.9%

    This affects all versions of package nedb. The library could be tricked into adding or modifying properties of Object.prototype using a __proto__ or constructor.prototype payload.

  36. 9.8CVE-2021-25949set-getter project set-getterEPSS 3.3%

    Prototype pollution vulnerability in 'set-getter' version 0.1.0 allows an attacker to cause a denial of service and may lead to remote code execution.

  37. 9.8CVE-2021-25948expand-hash project expand-hashEPSS 3.3%

    Prototype pollution vulnerability in 'expand-hash' versions 0.1.0 through 1.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.

  38. 9.8CVE-2021-25947nestie project nestieEPSS 3.0%

    Prototype pollution vulnerability in 'nestie' versions 0.0.0 through 1.0.0 allows an attacker to cause a denial of service and may lead to remote code execution.

  39. 9.8CVE-2021-26707EPSS 1.9%

    The merge-deep library before 3.0.3 for Node.js can be tricked into overwriting properties of Object.prototype or adding new properties to it. These properties are then inherited by every object in the program, thus facilitating prototype-…

  40. 9.8CVE-2021-25945js-extend project js-extendEPSS 3.0%

    Prototype pollution vulnerability in 'js-extend' versions 0.0.1 through 1.0.1 allows attacker to cause a denial of service and may lead to remote code execution.

  41. 9.8CVE-2021-25946nconf-toml project nconf-tomlEPSS 3.3%

    Prototype pollution vulnerability in `nconf-toml` versions 0.0.1 through 0.0.2 allows an attacker to cause a denial of service and may lead to remote code execution.

  42. 9.8CVE-2021-25944deep-defaults project deep-defaultsEPSS 3.0%

    Prototype pollution vulnerability in 'deep-defaults' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service and may lead to remote code execution.

  43. 9.8CVE-2021-25943101 project 101EPSS 3.3%

    Prototype pollution vulnerability in '101' versions 1.0.0 through 1.6.3 allows an attacker to cause a denial of service and may lead to remote code execution.

  44. 9.8CVE-2021-25941deep-override project deep-overrideEPSS 3.3%

    Prototype pollution vulnerability in 'deep-override' versions 1.0.0 through 1.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.

  45. 9.8CVE-2021-23383EPSS 4.5%

    The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to compile templates coming from an untrusted source.

  46. 9.1CVE-2021-28860adaltas mixmeEPSS 1.8%

    In Node.js mixme, prior to v0.5.1, an attacker can add or alter properties of an object via '__proto__' through the mutate() and merge() functions. The polluted attribute will be directly assigned to every object in the program. This will …

  47. 9.8CVE-2021-25928manta safe-objEPSS 3.4%

    Prototype pollution vulnerability in 'safe-obj' versions 1.0.0 through 1.0.2 allows an attacker to cause a denial of service and may lead to remote code execution.

  48. 9.8CVE-2021-25927safe-flat project safe-flatEPSS 3.3%

    Prototype pollution vulnerability in 'safe-flat' versions 2.0.0 through 2.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.

  49. 8.8CVE-2021-20089purl project purlEPSS 1.6%

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in purl 2.3.2 allows a malicious user to inject properties into Object.prototype.

  50. 8.8CVE-2021-20086jquery-bbq project jquery-bbqEPSS 7.3%

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in jquery-bbq 1.2.1 allows a malicious user to inject properties into Object.prototype.