# Undici's cookie header not cleared on cross-origin redirect in fetch

Advisory record · `GHSA-wqq4-5wpv-mx2g`

- **Identifiers:** `GHSA-wqq4-5wpv-mx2g` · `CVE-2023-45143`
- **State:** Confirmed
- **Severity:** CVSS 3.9 Low
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 16 Oct 2023
- **Updated:** 4 Feb 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 16 Oct 2023, 14:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `undici` (npm): affected `<5.26.2`; fixed in `5.26.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 3.9 Low, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.014, the 72nd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 12 Oct 2023, 16:21 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/nodejs/undici/security/advisories/GHSA-wqq4-5wpv-mx2g)

## Sources

- [GitHub Advisory Database: GHSA-wqq4-5wpv-mx2g](https://github.com/advisories/GHSA-wqq4-5wpv-mx2g)
- [OSV: GHSA-wqq4-5wpv-mx2g](https://osv.dev/vulnerability/GHSA-wqq4-5wpv-mx2g)
- <https://github.com/nodejs/undici/security/advisories/GHSA-q768-x9m6-m9qp>
- <https://github.com/nodejs/undici/security/advisories/GHSA-wqq4-5wpv-mx2g>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45143>
- <https://github.com/nodejs/undici/commit/e041de359221ebeae04c469e8aff4145764e6d76>
- <https://hackerone.com/reports/2166948>
- <https://github.com/nodejs/undici>
- <https://github.com/nodejs/undici/releases/tag/v5.26.2>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3N4NJ7FR4X4FPZUGNTQAPSTVB2HB2Y4A>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E72T67UPDRXHIDLO3OROR25YAMN4GGW5>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNA62Q767CFAFHBCDKYNPBMZWB7TWYVU>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HT7T2R4MQKLIF4ODV4BDLPARWFPCJ5CZ>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LKYHSZQFDNR7RSA7LHVLLIAQMVYCUGBG>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-wqq4-5wpv-mx2g>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-wqq4-5wpv-mx2g/>. Everything for agents: <https://agentprime.io/llms.txt>.
