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.
Do this next
Free account, 1 product
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
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
- https://github.com/js-cookie/js-cookie/commit/eb3c40e89731e99b8970faaf35ddad249c6c0020patch
- https://github.com/js-cookie/js-cookie/releases/tag/v3.0.7release-notes
- https://github.com/js-cookie/js-cookie/security/advisories/GHSA-qjx8-664m-686jexploit, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33183third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:36625third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:48126third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:48151third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:49642third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:52768third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:56338third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:56357third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:59153third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/security/cve/CVE-2026-46625third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2487740issue-tracking, third-party-advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46625.jsonthird-party-advisory
The CVE record on cve.org NVD's entry
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.