{"id":"CVE-2023-26136","published":"2023-07-01T05:00:01Z","modified":"2025-08-27T20:32:53Z","title":"Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02627,"percentile":0.85864,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873","tags":[]},{"url":"https://github.com/salesforce/tough-cookie/issues/282","tags":[]},{"url":"https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e","tags":[]},{"url":"https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00010.html","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240621-0006/","tags":[]}],"priority":{"score":26.7,"factors":[{"name":"EPSS percentile","points":17.17},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.55}]},"exploitSources":{"pocGithub":{"count":6,"skipped":1,"earliest":"2023-12-04","earliestUrl":"https://github.com/CUCUMBERanOrSNCompany/SealSecurityAssignment","repos":[{"name":"CUCUMBERanOrSNCompany/SealSecurityAssignment","url":"https://github.com/CUCUMBERanOrSNCompany/SealSecurityAssignment","stars":1,"created":"2023-12-04"},{"name":"ronmadar/Open-Source-Seal-Security","url":"https://github.com/ronmadar/Open-Source-Seal-Security","stars":0,"created":"2024-05-06"},{"name":"m-lito13/SealSecurity_Exam","url":"https://github.com/m-lito13/SealSecurity_Exam","stars":0,"created":"2024-09-02"},{"name":"dani33339/Tough-Cookie-v2.5.0-Patched","url":"https://github.com/dani33339/Tough-Cookie-v2.5.0-Patched","stars":0,"created":"2025-02-04"},{"name":"morrisel/CVE-2023-26136","url":"https://github.com/morrisel/CVE-2023-26136","stars":0,"created":"2025-02-07"}]},"first":{"date":"2023-12-04","source":"PoC-in-GitHub","url":"https://github.com/CUCUMBERanOrSNCompany/SealSecurityAssignment"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"tough-cookie","versions":["< 4.1.3"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-09T20:37:58.003559Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tough-cookie","vulnerableRanges":["<4.1.3"],"patched":["4.1.3"],"from":["GHSA-72xf-g2v4-qvf3"],"provenance":"source"}],"summary":{"text":"The tough-cookie npm package, in versions before 4.1.3, contains a prototype pollution flaw in how it initialises objects when cookies are handled by CookieJar with rejectPublicSuffixes set to false. An attacker who can supply cookie data to that code path can modify object prototype attributes, with the attack vector being network-reachable, low in complexity, and requiring no privileges or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:38:14Z"},"euvd":{"id":"EUVD-2023-1983","exploited":false,"provenance":"source"}}