7.5

CVE-2026-46625: js-cookie javascript_cookie Prototype Pollution

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2026-46625DEBIAN-CVE-2026-46625CGA-3c2r-45p6-c4vg
Published 10-06-2026Last modified 09-09-2026

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.

Overall risk
40/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.99%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 10-06-2026
    PublishedVulnerability first disclosed.
  2. 09-09-2026
    Last 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

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

19-09-202619-10-2026
EPSS score
0.99%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Js Cookie

    Maturity: poc

Weaknesses

CWE · root cause

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
Js-cookie2 products
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
Show all 22 references