Aller au contenu
7.5 Élevée

CVE-2026-46625 JavaScript Cookie is a JavaScript API for handling cookies, client-side

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.

Produits et versions touchés

Produit Versions touchées Corrigé en
js-cookie 3.0 premières → < 3.0.7 3.0.7
Red Hat OpenShift Service Mesh 3.3 1782201466 premières → < 1782201466 1782201466
Cryostat 4 Versions non publiées
OpenShift Lightspeed Versions non publiées
Red Hat 3scale API Management Platform 2 Versions non publiées
Red Hat Advanced Cluster Security 4 Versions non publiées
Red Hat Developer Hub Versions non publiées
Red Hat JBoss Enterprise Application Platform 7 Versions non publiées
Red Hat OpenShift AI (RHOAI) Versions non publiées
Afficher les 18 autres branches
Produit Versions touchées Corrigé en
Red Hat JBoss Enterprise Application Platform 8 Versions non publiées
Red Hat JBoss Enterprise Application Platform Expansion Pack Versions non publiées
Red Hat Ansible Automation Platform 2 Versions non publiées
Red Hat Discovery 2 Versions non publiées
Red Hat Enterprise Linux 10 Versions non publiées
Red Hat Enterprise Linux 8 Versions non publiées
Red Hat Enterprise Linux 9 Versions non publiées
Red Hat OpenShift Container Platform 4 Versions non publiées
Self-service automation portal 2 Versions non publiées
Red Hat Advanced Cluster Security for Kubernetes 4.10 1783357140 premières → < 1783357140 1783357140
Cryostat 4 on RHEL 9 4.2 premières → < 4.2.0-13 4.2.0-13
Red Hat Developer Hub 1.10 1785411652 premières → < 1785411652 1785411652
Red Hat Developer Hub 1.9 1785972843 premières → < 1785972843 1785972843
Red Hat Ansible Automation Platform 2.1 1787047114 premières → < 1787047114 1787047114
Red Hat Ansible Automation Platform 2.2 1787047188 premières → < 1787047188 1787047188
Red Hat Ansible Automation Platform 2.7 1787218409 premières → < 1787218409 1787218409
Red Hat OpenShift AI 3.4 1787250617 premières → < 1787250617 1787250617
Self-service automation portal 2.1 1787047114 premières → < 1787047114 1787047114

Références

Chronologie

  1. Publiée
  2. Dernière modification
Suivre cette CVE