MediumGHSA-72xf-g2v4-qvf3CVE-2023-26136

tough-cookie Prototype Pollution vulnerability

Published 1 Jul 2023 · Updated 10 Sept 2026

Affected package

Affected
<4.1.3
Fixed in
4.1.3
Update to the fixed version for your release line, for example:npm install tough-cookie@4.1.3

Details

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.

Is GHSA-72xf-g2v4-qvf3 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected tough-cookie, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.