Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. cross-fetch
  4. ›
  5. CVE-2022-1365

CVE-2022-1365: Withdrawn Advisory: Incorrect Authorization in cross-fetch

April 17, 2022 (updated October 8, 2025)

Withdrawn Advisory

This advisory has been withdrawn because the vulnerability originates from a dependency. For more information, see the Maintainer comments in https://huntr.com/bounties/ab55dfdd-2a60-437a-a832-e3efe3d264ac.

Original Description

When fetching a remote url with Cookie if it get Location response header then it will follow that url and try to fetch that url with provided cookie . So cookie is leaked here to thirdparty. Ex: you try to fetch example.com with cookie and if it get redirect url to attacker.com then it fetch that redirect url with provided cookie .

References

  • github.com/advisories/GHSA-7gc6-qh9x-w6h8
  • github.com/lquixada/cross-fetch
  • github.com/lquixada/cross-fetch/commit/a3b3a9481091ddd06b8f83784ba9c4e034dc912a
  • github.com/lquixada/cross-fetch/pull/135
  • huntr.dev/bounties/ab55dfdd-2a60-437a-a832-e3efe3d264ac
  • nvd.nist.gov/vuln/detail/CVE-2022-1365

Code Behaviors & Features

Detect and mitigate CVE-2022-1365 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 2.2.6, all versions starting from 3.0.0 before 3.1.5

Fixed versions

  • 3.1.5
  • 2.2.6

Solution

Upgrade to versions 2.2.6, 3.1.5 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-359: Exposure of Private Personal Information to an Unauthorized Actor
  • CWE-863: Incorrect Authorization

Source file

npm/cross-fetch/CVE-2022-1365.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:04 +0000.