# js-cookie (npm) vulnerabilities

1 known vulnerability (1 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 3.0.8 (May 29, 2026): no advisory affects it
- Newest unaffected release: 3.0.8 (May 29, 2026), the latest release
- Weekly downloads: 43.8M
- Dependents: 28.3K
- Releases: 35 since 1.5.0 (Apr 15, 2015)
- Registry: https://www.npmjs.com/package/js-cookie
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-46625: 1.5.0 to 3.0.6 (3.0.7 is outside it)

## Advisories (1)

### [CVE-2026-46625](https://cve.now/CVE-2026-46625): JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection

- Severity: High 7.5
- Published: Jun 10, 2026
- Affected: fixed in 3.0.7.
- Fixed in 3.0.7 (released May 16, 2026, 25 days before disclosure).
- The latest release, 3.0.8, is not affected.
- 38% of js-cookie downloads last week were affected versions (18.5M).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/js-cookie
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
