Skip to content

CVE-2026-46625

Js-cookie JavaScript Cookie vulnerability

7.5 HIGHPublic exploitEPSS 0.99%
  1. Published10 Jun 2026

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 3.1 breakdown

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityNone
IntegrityHigh
AvailabilityNone
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected products

Js-cookie JavaScript Cookie< 3.0.7
Redhat 3scale API Management2.0
Redhat Ansible Automation Platform2.0
Redhat Openshift Aiall versions
Redhat Openshift Lightspeedall versions
Redhat Enterprise Linux10.0 · 8.0 · 9.0

Frequently asked

Is CVE-2026-46625 being actively exploited?

CVE-2026-46625 is not in the CISA KEV catalog. A public exploit reference exists, so treat it as exploitable. Its EPSS exploit probability is 0.99%.

How severe is CVE-2026-46625?

CVE-2026-46625 has a CVSS 3.1 base score of 7.5, rated high. EPSS estimates a 0.99% probability of exploitation.

Which products are affected by CVE-2026-46625?

Affected products include Js-cookie JavaScript Cookie, Redhat 3scale API Management, Redhat Ansible Automation Platform, Redhat Openshift Ai, Redhat Openshift Lightspeed, and 1 more.

How do I fix CVE-2026-46625?

Upgrade affected software to a fixed version, for example Js-cookie JavaScript Cookie 3.0.7 or later, then confirm no affected versions remain in your inventory.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2026-46625 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.