CVE-2025-50182
Executive Summary
CVE-2025-50182 affects urllib3 versions 2.2.0 through 2.4.x, where the library’s redirect controls are ignored when used in a Pyodide runtime (browser or Node.js). The runtime’s default redirect handling can lead to unintended redirects, potentially exposing users to open redirect or SSRF attacks. The issue is fixed in urllib3 2.5.0. No current CISA KEV listing.
Authoritative CVE Metadata
- CVSS Base Score: 5.3 (MEDIUM)
- Last Modified: 19-11-26
Original Description
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.