개요
이 취약점이 무엇인지
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.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| javascript_cookiejs-cookie · node.js 용 | 최초 버전 | ≤ | 취약 | < | 3.0.7 | 3.0.7이상 |
| 3scale_api_managementredhat | 이 버전만 | 취약 | = | 2.0 | 벤더 공지 확인 | |
| ansible_automation_platformredhat | 이 버전만 | 취약 | = | 2.0 | 벤더 공지 확인 | |
| enterprise_linuxredhat | 이 버전만 | 취약 | = | 8.0 | 벤더 공지 확인 | |
| 이 버전만 | 취약 | = | 9.0 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 10.0 | 벤더 공지 확인 | ||
| openshift_airedhat | 버전 구분 없음 | 벤더 공지 확인 | ||||
| openshift_lightspeedredhat | 버전 구분 없음 | 벤더 공지 확인 | ||||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 1줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| js-cookiejs-cookie | 이 버전만 | 취약 | = | < 3.0.7 | 벤더 공지 확인 | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
외부 보안 공지12
- access.redhat.com/errata/RHSA-2026:33183
- access.redhat.com/errata/RHSA-2026:36625
- access.redhat.com/errata/RHSA-2026:48126
- access.redhat.com/errata/RHSA-2026:48151
- access.redhat.com/errata/RHSA-2026:49642
7개 더 보기
- access.redhat.com/errata/RHSA-2026:52768
- access.redhat.com/errata/RHSA-2026:56338
- access.redhat.com/errata/RHSA-2026:56357
- access.redhat.com/errata/RHSA-2026:59153
- access.redhat.com/security/cve/CVE-2026-46625
- bugzilla.redhat.com/show_bug.cgi?id=2487740
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46625.json