p PatchFirst

PatchFirst · Latest vulnerabilities

js-cookie vulnerabilities

Vulnerabilities published for js-cookie in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerability: 1

  1. CVE-2026-46625

    High · CVSS 7.5EPSS 0.92%Fix available

    JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection

    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 enumer

    • Update to 3.0.7
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →