Prototype pollution in JavaScript Cookie - CVE-2026-46625
Published: July 26, 2026
JavaScript Cookie
Detailed vulnerability description
The vulnerability allows a remote attacker to inject cookie attributes.
The vulnerability exists due to improperly controlled modification of object prototype attributes in the assign() helper when processing a JSON-derived attributes object. A remote attacker can supply a specially crafted object containing a __proto__ property to inject cookie attributes.
This issue affects applications that pass attacker-influenced JSON-derived objects as the attributes argument to Cookies.set, Cookies.remove, Cookies.withAttributes, or Cookies.withConverter.