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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-46625— JavaScript Cookie 安全漏洞

一分钟漏洞结论

影响对象
js-cookie js-cookie
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

JavaScript Cookie是js-cookie开源的一个轻量级JavaScript Cookie操作库。 JavaScript Cookie 3.0.7之前版本存在安全漏洞,该漏洞源于内部assign()辅助函数使用for...in和普通赋值复制属性,当源对象由JSON.parse产生时,__proto__成员作为自有可枚举属性导致原型污染,攻击者可设置cookie属性。

CVSS 7.5 · High EPSS 0.92% · P60

影响版本矩阵 1

厂商产品 版本范围状态
js-cookie js-cookie < 3.0.7 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-46625 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection
来源: CVE Program / CVE List V5
Vulnerability Description
JavaScript Cookie is a JavaScript API for handling cookies, client-side. Prior to version 3.0.7, js-cookie's internal assign() helper copies properties with for...in + plain assignment. When the source object is produced by JSON.parse, the JSON object's "__proto__" member is an own enumerable property, so the for…in enumerates it and the target[key] = source[key] write triggers the Object.prototype.__proto__ setter on the fresh target ({}). The result is a per-instance prototype hijack: Object.prototype itself is untouched, but the merged attributes object now inherits attacker-controlled keys. Because the consuming set() function then enumerates the merged object with another for...in, every key the attacker placed on the polluted prototype lands in the resulting Set-Cookie string as an attribute pair. The attacker can set domain=, secure=, samesite=, expires=, and path= on cookies whose attributes the developer thought were locked down. This issue has been patched in version 3.0.7.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
CWE-1321
来源: CVE Program / CVE List V5
Vulnerability Title
JavaScript Cookie 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
JavaScript Cookie是js-cookie开源的一个轻量级JavaScript Cookie操作库。 JavaScript Cookie 3.0.7之前版本存在安全漏洞,该漏洞源于内部assign()辅助函数使用for...in和普通赋值复制属性,当源对象由JSON.parse产生时,__proto__成员作为自有可枚举属性导致原型污染,攻击者可设置cookie属性。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
js-cookie js-cookie < 3.0.7 -

二、漏洞 CVE-2026-46625 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 已实测靶场 高级
已在真实靶场复现成功 · 下方是搭建环境并实际触发漏洞的真实录像。
复现录像为 Pro+ 专属
观看本 CVE 的完整沙箱构建 + 真实利用录像。限时 ¥499/月。
升级 Pro+
claude_code · 2914 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2026-46625 的情报信息

请登录查看更多情报信息。

CVE-2026-46625 补丁与修复 (1)

CVE-2026-46625 厂商安全公告 (1)

CVE-2026-46625 其他参考 (1)

IV. Related Vulnerabilities