Answer in brief
CVE-2026-46625 records a High severity (CVSS 7.5) vulnerability in JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection. The current sources do not mark it as known exploited. The current feed maps js-cookie/js-cookie (generic), js-cookie (npm), js-cookie (npm). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 7.5. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps js-cookie/js-cookie (generic), js-cookie (npm), js-cookie (npm). Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:js-cookie:javascript_cookie:*:*:*:*:*:node.js:*:* | Not reported | Not reported |
| cpe:2.3:a:redhat:3scale_api_management:2.0:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:a:redhat:ansible_automation_platform:2.0:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:a:redhat:openshift_ai:-:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:a:redhat:openshift_lightspeed:-:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| js-cookie/js-cookiegeneric | < 3.0.7 | Not reported |
| js-cookienpm | <=3.0.5 | 3.0.7 |
| js-cookienpm | >=0 <3.0.7 | 3.0.7 |
Published upstream
Jun 10, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Sep 10, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Jun 11, 2026
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.
Quoted source text, attributed separately from HOL analysis.