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 you can use Python libraries to make HTTP requests from your browser or Node.js. Additionally, urllib3 provides a mechanism to control redirects.
However, the retries and redirect parameters are ignored with Pyodide; the runtime itself determines redirect behavior.
Affected usages
Any code which relies on urllib3 to control the number of redirects for an HTTP request in a Pyodide runtime.
Impact
Redirects are often used to exploit SSRF vulnerabilities. An application attempting to mitigate SSRF or open redirect vulnerabilities by disabling redirects may remain vulnerable if a Pyodide runtime redirect mechanism is unsuitable.
Remediation
If you use urllib3 in Node.js, upgrade to a patched version of urllib3.
Unfortunately, browsers provide no suitable way which urllib3 can use: XMLHttpRequest provides no control over redirects, the Fetch API returns opaqueredirect responses lacking data when redirects are controlled manually. Expect default browser behavior for redirects.
Affected Packages
| Ecosystem | Package | Vulnerable Versions | Patched Version |
|---|---|---|---|
| pypi |
urllib3
|
>= 2.2.0, < 2.5.0 |
2.5.0
|
Bump urllib3 from 2.2.3 to 2.5.0
Closed 11 months agoBump urllib3 from 1.26.9 to 2.5.0
Closed 11 months agoBump urllib3 from 1.26.5 to 2.5.0 in /datarececord
Closed 11 months agoBump urllib3 from 1.26.9 to 2.5.0
Closed 11 months agoBump urllib3 from 2.0.7 to 2.5.0
Closed 11 months agoBump urllib3 from 1.26.9 to 2.5.0
Closed 11 months agoBump urllib3 from 2.2.3 to 2.5.0 in /octofit-tracker/backend
Closed 11 months agoBump the pip group across 1 directory with 4 updates
Open 11 months agobuild(deps): bump the pip group across 1 directory with 4 updates
Closed 11 months agoBump urllib3 from 2.2.1 to 2.5.0
Closed 11 months agoBump urllib3 from 2.2.3 to 2.5.0
Open 11 months agoBump urllib3 from 2.4.0 to 2.5.0
Closed 11 months agoBump urllib3 from 2.2.3 to 2.5.0
Closed 11 months agoBump the pip group across 4 directories with 5 updates
Open 11 months agochore(deps): bump the pip group across 3 directories with 5 updates
Closed 11 months agoBump urllib3 from 1.26.15 to 2.5.0
Closed 11 months agochore(deps): bump urllib3 from 2.0.4 to 2.5.0 in /backend
Open 11 months agoBump the pip group across 1 directory with 12 updates
Open 11 months agoBump urllib3 from 2.2.1 to 2.5.0
Closed 11 months agoBump urllib3 from 1.21.1 to 2.5.0
Open 11 months agochore: bump the backend-tests-python-dependencies group across 1 directory with 9 updates
Open 11 months agochore: bump the backend-tests-python-dependencies group across 3 directories with 27 updates
Closed 11 months agoBump urllib3 from 2.4.0 to 2.5.0
Closed 11 months agoBump urllib3 from 2.2.1 to 2.5.0
Closed 11 months agoBump urllib3 from 1.26.19 to 2.5.0
Open 11 months agofix(deps): bump urllib3 from 1.26.20 to 2.5.0
Open 11 months agoUpgrade: Bump the dependencies-pip group across 1 directory with 11 updates
Open 11 months agobuild(deps): bump urllib3 from 2.2.2 to 2.5.0 in /data/929/dates-generator in the pip group across 1 directory
Open 11 months agochore(deps): bump urllib3 from 2.2.2 to 2.5.0 in /.github/workflows/dependencies
Closed 11 months agoBump the pip group across 1 directory with 3 updates
Closed 11 months agochore(deps): bump the pip group across 1 directory with 3 updates
Open 11 months agoBump urllib3 from 1.26.20 to 2.5.0
Closed 11 months agoBump urllib3 from 2.2.3 to 2.5.0 in /docs
Closed 11 months agoBump urllib3 from 2.2.3 to 2.5.0 in /.ci/metrics
Closed 11 months agoBump urllib3 from 2.2.3 to 2.5.0
Closed 11 months agoBump urllib3 from 2.2.3 to 2.5.0 in /octofit-tracker/backend
Closed 11 months agoBump urllib3 from 2.4.0 to 2.5.0
Closed 11 months agoBump urllib3 from 2.2.3 to 2.5.0
Closed 11 months agochore(deps): bump urllib3 from 2.3.0 to 2.5.0
Closed 11 months agoBump urllib3 from 2.3.0 to 2.5.0
Open 11 months agoBump the pip group across 22 directories with 3 updates
Open 11 months agoBump the pip group across 1 directory with 5 updates
Open 11 months agoBump urllib3 from 1.26.18 to 2.5.0
Open 11 months agoBump the pip group across 3 directories with 8 updates
Open 11 months agoBump urllib3 from 2.2.1 to 2.5.0 in /requirements in the pip group across 1 directory
Closed 11 months agochore: bump the backend-tests-python-dependencies group across 1 directory with 9 updates
Closed 11 months agobuild(deps): bump urllib3 from 2.2.2 to 2.5.0 in the pip group across 1 directory
Closed 11 months agoBump urllib3 from 2.2.3 to 2.5.0
Closed 11 months agoBump urllib3 from 1.26.5 to 2.5.0
Closed 11 months agoBump urllib3 from 2.0.4 to 2.5.0
Closed 11 months agoActions
Advisory Details
| Published: | June 18, 2025 over 1 year ago |
| Updated: | October 13, 2026 10 days ago |
| CVSS Score: | 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| EPSS: | 0.39% 32th percentile |
| Source: | Github |
| Classification: | GENERAL |
| UUID: | GSA_kwCzR0hTQS00OHA0LTh4Y2YtdnhqNc4ABJPm |
PR Statistics
References
- https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5
- https://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f
- https://nvd.nist.gov/vuln/detail/CVE-2025-50182
- https://github.com/urllib3/urllib3/releases/tag/2.5.0
- https://github.com/advisories/GHSA-48p4-8xcf-vxj5