{"id":"CVE-2025-50182","published":"2025-06-19T01:42:44Z","modified":"2025-12-22T18:43:46Z","title":"urllib3 does not control redirects in browsers and Node.js","vendor":"urllib3","product":"urllib3","tier":"tail","description":{"text":"urllib3 is a user-friendly HTTP client library for Python. Starting in version 2.2.0 and prior to 2.5.0, urllib3 does not control redirects in browsers and Node.js. urllib3 supports being used in a Pyodide runtime utilizing the JavaScript Fetch API or falling back on XMLHttpRequest. This means Python libraries can be used to make HTTP requests from a browser or Node.js. Additionally, urllib3 provides a mechanism to control redirects, but the retries and redirect parameters are ignored with Pyodide; the runtime itself determines redirect behavior. This issue has been patched in version 2.5.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00628,"percentile":0.51025,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f","tags":["x_refsource_MISC"]},{"url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":10.21},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"urllib3","affectedVersions":[{"vendor":"urllib3","product":"urllib3","versions":[">= 2.2.0, < 2.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-23T16:55:48.101990Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"urllib3","vulnerableRanges":[">=2.2.0, <2.5.0"],"patched":["2.5.0"],"from":["GHSA-48p4-8xcf-vxj5","PYSEC-2026-1997"],"provenance":"source"}],"summary":{"text":"The urllib3 library, a Python HTTP client, fails to control redirects when used in browser and Node.js environments via Pyodide, where its retries and redirect parameters are ignored and the runtime determines redirect behavior instead; this affects versions from 2.2.0 up to but not including 2.5.0. An attacker able to induce the application to make a request can exploit this open redirect condition to send users or requests to an untrusted destination, which requires network access, low privileges, and a high-complexity attack path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:22Z"},"euvd":{"id":"EUVD-2025-18677","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-45803","published":"2023-10-17","fixed":"2.0.7","kev":false},{"cve":"CVE-2024-37891","published":"2024-06-17","fixed":"2.2.2","kev":false,"link":{"from":"CVE-2024-37891","to":"CVE-2025-50182","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:urllib3","fromFixed":"2.2.2","toFixed":"2.5.0","daysApart":367}]}},{"cve":"CVE-2025-50181","published":"2025-06-19","fixed":"2.5.0","kev":false},{"cve":"CVE-2025-50182","published":"2025-06-19","fixed":"2.5.0","kev":false},{"cve":"CVE-2025-66418","published":"2025-12-05","fixed":"2.6.0","kev":false,"link":{"from":"CVE-2025-50182","to":"CVE-2025-66418","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:urllib3","fromFixed":"2.5.0","toFixed":"2.6.0","daysApart":169}]}},{"cve":"CVE-2025-66471","published":"2025-12-05","fixed":"2.6.0","kev":false,"link":{"from":"CVE-2025-50182","to":"CVE-2025-66471","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:urllib3","fromFixed":"2.5.0","toFixed":"2.6.0","daysApart":169}]}},{"cve":"CVE-2026-21441","published":"2026-01-07","fixed":"2.6.3","kev":false}],"package":"PyPI:urllib3"}}