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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
28 Aug 2026, 16:18
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
|
| References | () https://github.com/js-cookie/js-cookie/security/advisories/GHSA-qjx8-664m-686j - Exploit, Vendor Advisory |
26 Aug 2026, 20:09
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/js-cookie/js-cookie/commit/eb3c40e89731e99b8970faaf35ddad249c6c0020 - Patch | |
| References | () https://github.com/js-cookie/js-cookie/releases/tag/v3.0.7 - Release Notes | |
| References | () https://github.com/js-cookie/js-cookie/security/advisories/GHSA-qjx8-664m-686j - Vendor Advisory, Exploit | |
| References | () https://access.redhat.com/errata/RHSA-2026:33183 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:36625 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:48126 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:48151 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:49642 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:52768 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:56338 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:56357 - Third Party Advisory | |
| References | () https://access.redhat.com/errata/RHSA-2026:59153 - Third Party Advisory | |
| References | () https://access.redhat.com/security/cve/CVE-2026-46625 - Third Party Advisory | |
| References | () https://bugzilla.redhat.com/show_bug.cgi?id=2487740 - Issue Tracking, Third Party Advisory | |
| References | () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46625.json - Third Party Advisory | |
| First Time |
Redhat
Redhat openshift Lightspeed Redhat 3scale Api Management Redhat ansible Automation Platform Redhat enterprise Linux Redhat openshift Ai Js-cookie javascript Cookie Js-cookie |
|
| CPE | cpe:2.3:a:redhat:3scale_api_management:2.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* cpe:2.3:a:redhat:openshift_ai:-:*:*:*:*:*:*:* cpe:2.3:a:js-cookie:javascript_cookie:*:*:*:*:*:node.js:*:* cpe:2.3:a:redhat:ansible_automation_platform:2.0:*:*:*:*:*:*:* cpe:2.3:a:redhat:openshift_lightspeed:-:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
25 Aug 2026, 13:19
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
19 Aug 2026, 12:18
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
10 Aug 2026, 13:19
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
04 Aug 2026, 13:18
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
30 Jul 2026, 12:18
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
23 Jul 2026, 09:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
08 Jul 2026, 13:16
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
30 Jun 2026, 03:20
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-915 | |
| References |
|
11 Jun 2026, 17:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/js-cookie/js-cookie/security/advisories/GHSA-qjx8-664m-686j - |
10 Jun 2026, 22:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-10 22:16
Updated : 2026-09-09 13:20
NVD link : CVE-2026-46625
Mitre link : CVE-2026-46625
CVE.ORG link : CVE-2026-46625
JSON object : View
Products Affected
redhat
- openshift_ai
- 3scale_api_management
- openshift_lightspeed
- enterprise_linux
- ansible_automation_platform
js-cookie
- javascript_cookie
