LIVE · cybersecurity feed
Live wire
cve recordhigh

CVE-2026-46625

js-cookie · javascript cookie

Published
CVSS7.5
Severityhigh
WeaknessCWE-1321
ExploitedNot in CISA KEV

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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, ever

References

← Back to the CVE Tracker

Our coverage of CVE-2026-46625

No stories yet. This page updates automatically when we publish reporting that references CVE-2026-46625.