CVE-2023-26136
CRITICAL 9.8CVSS 3.1tough-cookie Prototype Pollution vulnerability
Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.
- Published
- 1 Jul 2023
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-72xf-g2v4-qvf3
- Sources
- NVDJSONOSV GHSA-72xf-g2v4-qvf3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | salesforce | tough-cookiecpe:2.3:a:salesforce:tough-cookie:*:*:*:*:*:node.js:*:* |
< 4.1.3 | 4.1.3 |
| OSV | npm | tough-cookie | < 4.1.3 | 4.1.3 |
References
- https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e · Patch, WEB
- https://github.com/salesforce/tough-cookie/issues/282 · Exploit, Issue Tracking, Vendor Advisory, WEB
- https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3 · Release Notes, WEB
- https://lists.debian.org/debian-lts-announce/2023/07/msg00010.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/ · WEB
- https://security.netapp.com/advisory/ntap-20240621-0006/ · WEB
- https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873 · Exploit, Technical Description, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-26136 · ADVISORY
- https://github.com/salesforce/tough-cookie · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 1 Jul 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 1 Jul 2023)