{"id":16548,"date":"2026-09-04T19:05:26","date_gmt":"2026-09-04T11:05:26","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-46625"},"modified":"2026-09-04T19:05:26","modified_gmt":"2026-09-04T11:05:26","slug":"cve-2026-46625","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-46625","title":{"rendered":"CVE-2026-46625 [HIGH] &#8211; JavaScript Cookie is a JavaScript API for handling cookies, client-side. Prior to version"},"content":{"rendered":"<p>JavaScript Cookie is a JavaScript API for handling cookies, client-side. Prior to version 3.0.7, js-cookie&#8217;s internal assign() helper copies properties with for&#8230;in + plain assignment. When the source object is produced by JSON.parse, the JSON object&#8217;s &#8220;__proto__&#8221; member is an own enumerable property, so the for\u2026in 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&#8230;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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript Cookie is a JavaScript API for handling cookies, client-side. Prior to version 3.0.7, js-cookie&#8217;s internal assign() helper copies properties with for&#8230;in + plain assignment. When the sourc<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-16548","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/16548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}