CVE-2026-46625 — JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection
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.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 1% (30-day exploitation probability)+9
- Technical severity (high)+6
- CISA SSVC: exploitation "poc"+5
- Automatable exploitation (SSVC)+3
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — github.com (NIST National Vulnerability Database)
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Js-cookie Javascript Cookie, Js-cookie Js-cookie, Red Hat 3scale Api Management…).
- The attack is network-based and needs no privileges: restrict exposure (ACLs, VPN, WAF) until patched.
- Apply the fixed version or the patch documented under Remediation.
- Search available logs for exploit probes matching the vulnerability class (injection), errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Js-cookie | Javascript Cookie | < 3.0.7 | Vulnerable | NIST National Vulnerability Database |
| Js-cookie | Js-cookie | version < 3.0.7 | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Red Hat | 3scale Api Management | version 2.0 | Vulnerable | NIST National Vulnerability Database |
| Red Hat | Ansible Automation Platform | version 2.0 | Vulnerable | NIST National Vulnerability Database |
| Red Hat | Enterprise Linux | version 8.0version 9.0version 10.0 | Vulnerable | NIST National Vulnerability Database |
| Red Hat | Openshift Ai | versions not specified by the source | Vulnerable | NIST National Vulnerability Database |
| Red Hat | Openshift Lightspeed | versions not specified by the source | Vulnerable | NIST National Vulnerability Database |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | High | 3.9 | 3.6 | security-advisories@github.com via NIST National Vulnerability Database |
| 7.5 | CVSS 3.1 | High | 3.9 | 3.6 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c via NIST National Vulnerability Database |
| 7.5 | CVSS 3.1 | High | — | — | GitHub_M via CVE Program (cve.org) e CISA ADP |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (score shown at the top: security-advisories@github.com) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
EPSS over time FIRST
Oct 13, 2026 → Oct 14, 2026 · 2 reading(s) · max 0.99%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Prioritize edge telemetry for the network-reachable component (proxy, WAF, IDS/IPS).
- Look for parameters with command/query metacharacters and unexpected child processes of the service.
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products added · js-cookie/js-cookie
- SSVC assessment updated
- Record published
- Fix documented
- CVSS changed · 7.5
- Source status changed · → Modified
- Record created in this database
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
16 on the record
- github.com/js-cookie/js-cookie/security/advisories/GHSA-qjx8-664m-686j
- github.com/js-cookie/js-cookie/commit/eb3c40e89731e99b8970faaf35ddad249c6c0020
- access.redhat.com/errata/RHSA-2026:48151
- access.redhat.com/security/cve/CVE-2026-46625
- access.redhat.com/errata/RHSA-2026:36625
- access.redhat.com/errata/RHSA-2026:60520
- access.redhat.com/errata/RHSA-2026:52768
- access.redhat.com/errata/RHSA-2026:56338
- access.redhat.com/errata/RHSA-2026:49642
- access.redhat.com/errata/RHSA-2026:33183
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46625.json
- access.redhat.com/errata/RHSA-2026:56357
- access.redhat.com/errata/RHSA-2026:48126
- github.com/js-cookie/js-cookie/releases/tag/v3.0.7
- bugzilla.redhat.com/show_bug.cgi
- access.redhat.com/errata/RHSA-2026:59153
Elsewhere on this site
Related CVEs (same products)
- Medium CVE-2026-104045 Sssd: sssd: denial of service via race condition in autofs responder 9d
- Medium CVE-2026-104046 Sssd: sssd: denial of service via incomplete identity provider authentication requests 9d
- High CVE-2026-104048 Sssd: sssd: authorization bypass via cross-domain username collision in hbac evaluation 9d
- Medium CVE-2026-104047 Sssd: sssd: information disclosure via query injection in entra id lookups 9d
- High CVE-2026-102558 Libsoup: libsoup: heap buffer overflow during websocket receive-buffer growth 16d
- High CVE-2026-102555 Libsoup: libsoup: heap buffer overflow via uninitialized length in data-uri base64 decoding 16d
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2026-46625 is "JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection", rated High. It affects Javascript Cookie (Js-cookie); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. CVSS 7.5 describes technical severity. EPSS 0.99% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.