Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. tough-cookie
  4. ›
  5. CVE-2023-26136

CVE-2023-26136: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

July 1, 2023 (updated November 7, 2023)

Versions of the package tough-cookie before 4.1.3 is 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.

References

  • github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e
  • github.com/salesforce/tough-cookie/issues/282
  • github.com/salesforce/tough-cookie/releases/tag/v4.1.3
  • nvd.nist.gov/vuln/detail/CVE-2023-26136
  • security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873

Code Behaviors & Features

Detect and mitigate CVE-2023-26136 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.1.3

Fixed versions

  • 4.1.3

Solution

Upgrade to version 4.1.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/tough-cookie/CVE-2023-26136.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:03 +0000.