CVE-2026-46625: js-cookie javascript_cookie Prototype Pollution
Vulnerability summary
CVE-2026-46625 is a high (CVSS 7.5) Prototype Pollution vulnerability in js-cookie javascript_cookie. EPSS estimates a 0.99% chance of exploitation in the next 30 days, higher than 61.7% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 10-06-2026PublishedVulnerability first disclosed.
- 09-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.99%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
+0.07 pp
From 0.92% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundJs Cookie
Maturity: poc
Weaknesses
CWE · root cause- CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
- CWE-915Improperly Controlled Modification of Dynamically-Determined Object AttributesThe product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.
Affected systems
Chainguard59 products
- commercial-gitlab-rails-ee-19.1< 19.1.7-r3
- commercial-gitlab-rails-ee-19.2< 19.2.7-r1
- commercial-gitlab-rails-ee-19.3< 19.3.3-r1
- commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-fips-19.2< 19.2.7-r1
Redhat5 products
- 3scale_api_management2.0
- ansible_automation_platform2.0
- enterprise_linux8.0 | 9.0 | 10.0
- openshift_aina
- openshift_lightspeedna
Js-cookie2 products
- javascript_cookie< 3.0.7
- js-cookie< 3.0.7
Wolfi2 products
- opensearch-dashboards-3< 3.6.0-r6
- saf< 1.6.0-r0
Debian1 product
- node-js-cookieAll versions (No fix recorded) | < 3.0.7+~3.0.6-1
Npm1 product
- js-cookie< 3.0.7
Ubuntu1 product
- node-js-cookieAll versions (No fix recorded)
7 vendors · 71 products
References
22 links- github.com/js-cookie/js-cookie/security/advisories/GHSA-qjx8-664m-686jX Refsource CONFIRMREPORTAdvisoryWEBExploitVendor Advisory
- github.com/js-cookie/js-cookie/commit/eb3c40e89731e99b8970faaf35ddad249c6c0020X Refsource MISCREPORTFIXWEBPatch
- access.redhat.com/security/cve/CVE-2026-46625VDB EntryX Refsource REDHATAdvisoryThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2487740Issue TrackingX Refsource REDHATREPORTThird Party Advisory
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46625.jsonX Sadp Csaf VexWEBThird Party Advisory
- access.redhat.com/errata/RHSA-2026:48151Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2026:36625Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2026:56338Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2026:56357Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
Show all 22 references
- access.redhat.com/errata/RHSA-2026:59153Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2026:48126Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2026:49642Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2026:52768Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory
- access.redhat.com/errata/RHSA-2026:33183Vendor AdvisoryX Refsource REDHATAdvisoryThird Party Advisory