Back to CVE records
High 7.5Published Jun 10, 2026

CVE-2026-46625JavaScript Cookie is a JavaScript API for handling cookies, client-side.

Updated under an hour ago ()

Does this affect you?

It affects js-cookie javascript_cookie and 5 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.5 HIGH (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-1321, CWE-915
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Sep 9, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
js-cookie javascript_cookie
js-cookie:javascript_cookie
before 3.0.7
NVD
redhat 3scale_api_management
redhat:3scale_api_management
2.0
NVD
redhat ansible_automation_platform
redhat:ansible_automation_platform
2.0
NVD
redhat openshift_ai
redhat:openshift_ai
all versions
NVD
redhat openshift_lightspeed
redhat:openshift_lightspeed
all versions
NVD
redhat enterprise_linux
redhat:enterprise_linux
8.0; 9.0; 10.0
NVD

References

  • patch
  • release-notes
  • exploit, vendor-advisory
  • third-party-advisory
  • third-party-advisory
  • third-party-advisory
  • third-party-advisory
  • third-party-advisory
  • third-party-advisory
  • third-party-advisory
  • third-party-advisory
  • third-party-advisory
  • third-party-advisory
  • issue-tracking, third-party-advisory
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.