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.
CVE-2026-46625
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.4%, top 72% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 34.0%
- KEV
- Not listed
Published
May 21, 2026
Last Modified
June 30, 2026
Advisory Details (3)
Auto-updated Jun 11, 2026Per-instance prototype hijack in assign() enables cookie-attribute injection · Advisory · js-cookie/js-cookie · GitHub
https://github.com/js-cookie/js-cookie/security/advisories/GHSA-qjx8-664m-686jv3.0.7
Patch available: js-cookie/js-cookie v3.0.7
https://github.com/js-cookie/js-cookie/releases/tag/v3.0.7commit eb3c40e89731 (js-cookie/js-cookie)
Patch available: js-cookie/js-cookie v3.0.7 (contains commit eb3c40e89731)
https://github.com/js-cookie/js-cookie/commit/eb3c40e89731e99b8970faaf35ddad249c6c0020Vendor Advisories for CVE-2026-46625(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| js-cookie | — | 3.0.7 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 60× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 19:55 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 08:16 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 19:56 UTCEG score recompute
- 2026-06-27 07:37 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 19:18 UTCEG score recompute
- 2026-06-26 03:25 UTCEG score recompute
- 2026-06-25 14:13 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
Show 49 moreShow fewer
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 23:41 UTCEG score recompute
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 11:07 UTCEG score recompute
- 2026-06-16 19:42 UTCEG score recompute
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 03:56 UTCEG score recompute
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 15:37 UTCEG score recompute
- 2026-06-14 23:37 UTCEG score recompute
- 2026-06-14 11:18 UTCEG score recompute
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 22:59 UTCEG score recompute
- 2026-06-13 10:40 UTCEG score recompute
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 22:07 UTCEG score recompute
- 2026-06-12 09:48 UTCEG score recompute
- 2026-06-11 21:29 UTCEG score recompute
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 09:10 UTCEG score recompute
- 2026-06-10 20:51 UTCEG score recompute
- 2026-06-10 08:27 UTCEG score recompute
- 2026-06-09 20:08 UTCEG score recompute
- 2026-06-09 07:43 UTCEG score recompute
- 2026-06-08 19:23 UTCEG score recompute
- 2026-06-08 07:04 UTCEG score recompute
- 2026-06-07 18:45 UTCEG score recompute
- 2026-06-07 06:26 UTCEG score recompute
- 2026-06-06 18:07 UTCEG score recompute
- 2026-06-06 05:48 UTCEG score recompute
- 2026-06-05 17:29 UTCEG score recompute
- 2026-06-05 05:09 UTCEG score recompute
- 2026-06-04 16:50 UTCEG score recompute
- 2026-06-04 04:31 UTCEG score recompute
- 2026-06-03 16:12 UTCEG score recompute
- 2026-06-03 03:53 UTCEG score recompute
- 2026-06-02 15:34 UTCEG score recompute
- 2026-06-02 03:15 UTCEG score recompute
- 2026-06-01 14:55 UTCEG score recompute
- 2026-06-01 02:37 UTCEG score recompute
- 2026-05-24 06:10 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-46625?
When was CVE-2026-46625 disclosed?
Is CVE-2026-46625 actively exploited?
What is the CVSS score of CVE-2026-46625?
How do I remediate CVE-2026-46625?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-46625
Is Your Infrastructure Affected by CVE-2026-46625?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.