CVE-2025-50182

published 19 Jun 2025 · updated 19 Nov 2026

urllib3 does not control redirects in browsers and Node.js

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.5.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Pythonurllib3>=2.3.0 <2.5.02.5.0
urllib3>=2.2.0 <2.5.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-50182 severity on Zeptric[![CVE-2025-50182](https://zeptric.io/badge/cve/CVE-2025-50182.svg)](https://zeptric.io/cve/CVE-2025-50182)