目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CWE-1321 类漏洞列表 229

CWE-1321 类弱点 229 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-1321 原型污染漏洞属于对象属性控制不当类型。攻击者通过注入恶意输入,修改 JavaScript 对象的原型属性,从而污染全局对象或影响后续实例。这可能导致远程代码执行、拒绝服务或权限提升。开发者应避免直接合并用户输入,使用 Object.create(null) 创建无原型对象,或采用安全库限制原型修改,并严格验证输入来源,以阻断污染路径。

MITRE CWE 官方描述
CWE:CWE-1321 对象原型属性('Prototype Pollution')的修改控制不当 英文:产品接收来自上游组件的输入,该输入指定了要在对象中初始化或更新的属性,但它未能正确控制对对象原型(prototype)属性的修改。
常见影响 (2)
Confidentiality, Integrity, Availability Read Application Data, Modify Application Data
This 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 …
Availability DoS: Crash, Exit, or Restart
An attacker can override existing attributes with ones that have incompatible type, which may lead to a crash.
缓解措施 (5)
Implementation By freezing the object prototype first (for example, Object.freeze(Object.prototype)), modification of the prototype becomes impossible.
Effectiveness: High
Architecture and Design By blocking modifications of attributes that resolve to object prototype, such as proto or prototype, this weakness can be mitigated.
Effectiveness: High
Implementation When handling untrusted objects, validating using a schema can be used.
Effectiveness: Limited
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.
Effectiveness: High
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.
Effectiveness: Moderate
代码示例 (1)
This function sets object attributes based on a dot-separated path.
function setValueByPath (object, path, value) { const pathArray = path.split("."); const attributeToSet = pathArray.pop(); let objectToModify = object; for (const attr of pathArray) { if (typeof objectToModify[attr] !== 'object') { objectToModify[attr] = {}; } objectToModify = objectToModify[attr]; } objectToModify[attributeToSet] = value; return object; }
Bad · JavaScript
setValueByPath({}, "__proto__.isAdmin", true) setValueByPath({}, "constructor.prototype.isAdmin", true)
Bad · JavaScript
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-89011 isomorphic-git 1.42.0 原型污染漏洞 — isomorphic-git 7.1 High 2026-09-10
CVE-2026-86078 n8n 工作流原型污染致拒绝服务漏洞 — n8n 6.0 Medium 2026-09-08
CVE-2026-81994 Acrobat Reader 原型污染漏洞 — Adobe Acrobat 8.2 High 2026-09-08
CVE-2026-85625 crcn sift.js 输入验证错误漏洞 — sift.js 8.1 High 2026-09-04
CVE-2026-63376 Michelle Tilley TOML Parser for Node.js 输入验证错误漏洞 — toml-node 8.2 High 2026-09-03
CVE-2026-85063 adaltas node-csv 输入验证错误漏洞 — node-csv 6.9 Medium 2026-09-03
CVE-2026-82404 TOON Token-Oriented Object Notation 输入验证错误漏洞 — toon 8.3 High 2026-09-02
CVE-2026-84368 hapi.js joi 输入验证错误漏洞 — joi 3.7 Low 2026-09-01
CVE-2026-84367 hapi.js joi 输入验证错误漏洞 — joi 3.7 Low 2026-09-01
CVE-2026-82257 Svelte kit 输入验证错误漏洞 — kit 4.3 Medium 2026-08-28
CVE-2026-78654 Cleverbrush Framework 输入验证错误漏洞 — framework 7.3 High 2026-08-25
CVE-2026-78181 ractivejs ractive 输入验证错误漏洞 — ractive 7.3 High 2026-08-24
CVE-2026-78180 next 输入验证错误漏洞 — next 7.3 High 2026-08-24
CVE-2026-78179 Rex Notes of Phaser4 engine 输入验证错误漏洞 — phaser3-rex-notes 6.3 Medium 2026-08-24
CVE-2026-78178 jQWidgets 输入验证错误漏洞 — jQWidgets 7.3 High 2026-08-24
CVE-2026-78207 exceljs 输入验证错误漏洞 — exceljs 9.4 Critical 2026-08-24
CVE-2026-18420 OpenSearch Dashboards 输入验证错误漏洞 — Amazon OpenSearch Service 8.8 High 2026-08-20
CVE-2026-77083 n8n 输入验证错误漏洞 — n8n 6.0 Medium 2026-08-20
CVE-2026-23929 Zabbix 输入验证错误漏洞 — Zabbix 8.5 High 2026-08-18
CVE-2026-71553 Apostrophe Technologies ApostropheCMS 输入验证错误漏洞 — apostrophe 7.1 High 2026-08-17
CVE-2026-73654 Trigger.dev 输入验证错误漏洞 — trigger.dev 8.5 High 2026-08-13
CVE-2026-73647 Quasar Framework extend()原型污染漏洞 — quasar 5.6 Medium 2026-08-13
CVE-2026-73562 Mongoose Schema路径getter原型污染漏洞 — mongoose 6.5 Medium 2026-08-13
CVE-2026-73088 Browserslist 输入验证错误漏洞 — browserslist 7.5 High 2026-08-11
CVE-2026-72769 n8n 输入验证错误漏洞 — n8n 6.1 Medium 2026-08-11
CVE-2026-72749 n8n 输入验证错误漏洞 — n8n 7.1 High 2026-08-11
CVE-2026-48170 Thomas Poignant SCIM-PATCH 输入验证错误漏洞 — scim-patch 9.1 Critical 2026-08-07
CVE-2026-71438 mermaid-js mermaid 输入验证错误漏洞 — mermaid 2.4 Low 2026-08-06
CVE-2026-71437 mermaid-js mermaid 输入验证错误漏洞 — mermaid 6.5 Medium 2026-08-06
CVE-2026-70610 Electron 输入验证错误漏洞 — electron 5.4 Medium 2026-08-05

CWE-1321 是常见的弱点类别,本平台收录该类弱点关联的 229 条 CVE 漏洞。