# \`Cookie\` HTTP header isn't stripped on cross-origin redirects

Advisory record · `GHSA-v845-jxx5-vc9f`

- **Identifiers:** `GHSA-v845-jxx5-vc9f` · `CVE-2023-43804` · `PYSEC-2023-192`
- **State:** Confirmed
- **Severity:** CVSS 5.9 Medium
- **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:** 2 Oct 2023
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

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

## Affected packages

- `urllib3` (PyPI): affected `>=2.0.0, <2.0.6 || <1.26.17`; fixed in `2.0.6`, `1.26.17`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> urllib3 versions before 1.26.17, and versions from 2.0.0 before 2.0.6, do not strip a user-supplied Cookie header when following redirects to a different origin. An attacker who can make a request to a server that redirects to a malicious origin, or who can intercept non-HTTPS traffic, can capture the cookie value. Upgrade to urllib3 1.26.17 or 2.0.6, or later; alternatively, disable redirects with redirects=False or avoid sending the Cookie header.

Written 5 Nov 2026.

## 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

- 5.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`, 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

- 2 Oct 2023, 17:25 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f)
- 31 Oct 2026, 14:37 UTC: First seen by agentprime
- 31 Oct 2026, 14:37 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-v845-jxx5-vc9f)

## Sources

- [GitHub Advisory Database: GHSA-v845-jxx5-vc9f](https://github.com/advisories/GHSA-v845-jxx5-vc9f)
- [OSV: GHSA-v845-jxx5-vc9f](https://osv.dev/vulnerability/GHSA-v845-jxx5-vc9f)
- <https://github.com/urllib3/urllib3/security/advisories/GHSA-v845-jxx5-vc9f>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-43804>
- <https://github.com/urllib3/urllib3/commit/01220354d389cd05474713f8c982d05c9b17aafb>
- <https://github.com/urllib3/urllib3/commit/644124ecd0b6e417c527191f866daa05a5a2056d>
- <https://github.com/pypa/advisory-database/tree/main/vulns/urllib3/PYSEC-2023-192.yaml>
- <https://github.com/urllib3/urllib3>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00012.html>
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3PR7C6RJ6JUBQKIJ644DMIJSUP36VDY>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NDAGZXYJ7H2G3SB47M453VQVNAWKAEJJ>
- <https://security.netapp.com/advisory/ntap-20241213-0007>

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-v845-jxx5-vc9f>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-v845-jxx5-vc9f/>. Everything for agents: <https://agentprime.io/llms.txt>.
