CVE-2026-46625
Last modified
CVE-2026-46625 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.51% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| js-cookie | js-cookie | < 3.0.7 |
References
Timeline
- Published
- Last Modified
- Status
- Undergoing Analysis
Frequently Asked Questions
What is CVE-2026-46625?
How severe is CVE-2026-46625?
How do I fix CVE-2026-46625?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-46618Fission is an open-source, Kubernetes-native serverless fram…6.9
- CVE-2026-4662The JetEngine plugin for WordPress is vulnerable to SQL Inje…7.5
- CVE-2026-46620e107 is a content management system (CMS). Prior to 2.3.5, e…6.5
- CVE-2026-46621Yamcs is a mission control framework. Prior to 5.12.7, the Y…9.1
- CVE-2026-46622SolidInvoice is an open-source invoicing platform. Prior to …8.1
- CVE-2026-46624Twenty is an open source CRM. From 1.7.7 through 1.16.7, a c…9.9
- CVE-2026-46627Twig is a template language for PHP. Prior to 3.26.0, the Tw…6.5
- CVE-2026-46628Twig is a template language for PHP. Prior to 3.26.0, the de…5.4
- CVE-2026-46629Twig is a template language for PHP. Prior to 3.26.0, twig/i…6.5
- CVE-2026-4663Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2026-46633Twig is a template language for PHP. Prior to 3.26.0, Compil…9.8
- CVE-2026-46634Twig is a template language for PHP. From 3.9.0 until 3.26.0…9.8
Are you affected by CVE-2026-46625?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
