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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-1321 类漏洞列表 261

CWE-1321 类弱点 261 条 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-114142 toml-node TOML 原型污染漏洞 — toml-node 8.8 High 2026-10-21
CVE-2026-112309 @rvf/set-get 7.0.4 前原型污染漏洞 — @rvf/set-get 7.5 High 2026-10-19
CVE-2026-111172 @casl/ability 6.7.5前原型链污染漏洞 — @casl/ability 5.3 Medium 2026-10-15
CVE-2026-106160 Kendo UI for jQuery 原型污染漏洞 — Kendo UI for jQuery 5.4 Medium 2026-10-15
CVE-2026-110848 n8n 多版本原型链污染漏洞 — n8n 6.0 Medium 2026-10-14
CVE-2026-110842 n8n <2.41.4 或 2.42.1 原型链污染漏洞 — n8n 7.7 High 2026-10-14
CVE-2026-110111 Xen Orchestra 低于 6.9.0 提权漏洞 — xen-orchestra 7.5 High 2026-10-13
CVE-2026-109758 Perforce HAS 2022.1-2025.2 默认凭证致未授权访问 — Helix Authentication Service 9.3 Critical 2026-10-13
CVE-2021-48012 fast-toml 0.5.4 及以下版本原型污染漏洞 — fast-toml 8.2 High 2026-10-12
CVE-2026-107701 dot-access 1.0.0 原型链污染漏洞 — dot-access 8.2 High 2026-10-08
CVE-2026-107301 msgpack5 部分选项禁用原型保护 — msgpack5 6.5 Medium 2026-10-08
CVE-2026-107353 set()函数可通过不可信路径写入内置原型 — traverse 6.5 Medium 2026-10-07
CVE-2026-106448 StableLib库CBOR解码中__proto__原型污染漏洞 — stablelib 8.9 High 2026-10-06
CVE-2026-105844 Payload Import Export 插件原型污染漏洞 — payload 9.3 Critical 2026-10-06
CVE-2026-104852 GraphQL Tools mergeDeep 原型链污染漏洞 — graphql-tools 8.2 High 2026-10-05
CVE-2026-104848 Tinypool 原型链污染漏洞导致远程代码执行 — tinypool 9.5 Critical 2026-10-02
CVE-2026-86536 Apache Thrift JavaScript原型链污染漏洞 — Apache Thrift 6.3 Medium 2026-10-02
CVE-2026-104183 stream-json 原型链污染漏洞 — stream-json 5.1 Medium 2026-10-01
CVE-2026-102992 piscina ThreadPool原型污染远程代码执行漏洞 — piscina 9.2 Critical 2026-09-30
CVE-2026-91860 Vaadin图表组件原型污染漏洞 — vaadin 6.3 Medium 2026-09-30
CVE-2026-101909 Axios 原型污染漏洞 — axios 8.3 High 2026-09-28
CVE-2026-101908 Axios 原型污染漏洞,可篡改出站请求 — axios 6.9 Medium 2026-09-28
CVE-2026-101902 Axios 默认实例原型污染漏洞可导致HTTP方法被覆盖 — axios 6.9 Medium 2026-09-28
CVE-2026-97724 React Native Worklets<0.12.2原型污染致DoS — React Native Reanimated 4.3 Medium 2026-09-25
CVE-2026-97151 mammoth<1.12.2原型链污染漏洞 — mammoth.js 8.4 High 2026-09-24
CVE-2026-93753 deepmerge 4.3.1 原型污染漏洞 — deepmerge 7.5 High 2026-09-18
CVE-2026-92781 Builder.io Gen2 SDK 5.2.11 原型污染漏洞 — @builder.io/sdk-react 6.3 Medium 2026-09-16
CVE-2026-92779 Builder.io Gen2 SDK 5.2.11 原型污染漏洞 — @builder.io/sdk-react 7.6 High 2026-09-16
CVE-2026-69200 node-opcua 原型污染漏洞 — node-opcua 3.7 Low 2026-09-16
CVE-2026-55451 locize gettext-converter 输入验证错误漏洞 — gettext-converter 8.3 High 2026-09-14

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