{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/30149?format=json","vulnerability_id":"VCID-dxkv-8f9g-47e9","summary":"urllib3 does not control redirects in browsers and Node.js\nurllib3 [supports](https://urllib3.readthedocs.io/en/2.4.0/reference/contrib/emscripten.html) being used in a Pyodide runtime utilizing the [JavaScript Fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) or falling back on [XMLHttpRequest](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest). This means you can use Python libraries to make HTTP requests from your browser or Node.js. Additionally, urllib3 provides [a mechanism](https://urllib3.readthedocs.io/en/2.4.0/user-guide.html#retrying-requests) to control redirects.\n\nHowever, the `retries` and `redirect` parameters are ignored with Pyodide; the runtime itself determines redirect behavior.\n\n\n## Affected usages\n\nAny code which relies on urllib3 to control the number of redirects for an HTTP request in a Pyodide runtime.\n\n\n## Impact\n\nRedirects 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.\n\n\n## Remediation\n\nIf you use urllib3 in Node.js, upgrade to a patched version of urllib3.\n\nUnfortunately, 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.","aliases":[{"alias":"CVE-2025-50182"},{"alias":"GHSA-48p4-8xcf-vxj5"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/936869?format=json","purl":"pkg:deb/debian/python-urllib3@0?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-urllib3@0%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/936866?format=json","purl":"pkg:deb/debian/python-urllib3@1.26.5-1~exp1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-urllib3@1.26.5-1~exp1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/936864?format=json","purl":"pkg:deb/debian/python-urllib3@1.26.12-1%2Bdeb12u1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-urllib3@1.26.12-1%252Bdeb12u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/936881?format=json","purl":"pkg:deb/debian/python-urllib3@2.3.0-3?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-urllib3@2.3.0-3%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/936868?format=json","purl":"pkg:deb/debian/python-urllib3@2.3.0-3%2Bdeb13u1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-urllib3@2.3.0-3%252Bdeb13u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/936867?format=json","purl":"pkg:deb/debian/python-urllib3@2.6.3-2?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-urllib3@2.6.3-2%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/70769?format=json","purl":"pkg:pypi/urllib3@2.5.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-kjka-a931-uygj"},{"vulnerability":"VCID-v365-pn8r-e7dh"},{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/urllib3@2.5.0"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/570559?format=json","purl":"pkg:pypi/urllib3@2.2.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5tkp-pxz9-h7c2"},{"vulnerability":"VCID-7wcj-zvjq-xud3"},{"vulnerability":"VCID-dxkv-8f9g-47e9"},{"vulnerability":"VCID-kjka-a931-uygj"},{"vulnerability":"VCID-v365-pn8r-e7dh"},{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/urllib3@2.2.0"},{"url":"http://public2.vulnerablecode.io/api/packages/692396?format=json","purl":"pkg:pypi/urllib3@2.2.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-5tkp-pxz9-h7c2"},{"vulnerability":"VCID-7wcj-zvjq-xud3"},{"vulnerability":"VCID-dxkv-8f9g-47e9"},{"vulnerability":"VCID-kjka-a931-uygj"},{"vulnerability":"VCID-v365-pn8r-e7dh"},{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/urllib3@2.2.1"},{"url":"http://public2.vulnerablecode.io/api/packages/59268?format=json","purl":"pkg:pypi/urllib3@2.2.2","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7wcj-zvjq-xud3"},{"vulnerability":"VCID-dxkv-8f9g-47e9"},{"vulnerability":"VCID-kjka-a931-uygj"},{"vulnerability":"VCID-v365-pn8r-e7dh"},{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/urllib3@2.2.2"},{"url":"http://public2.vulnerablecode.io/api/packages/775137?format=json","purl":"pkg:pypi/urllib3@2.2.3","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7wcj-zvjq-xud3"},{"vulnerability":"VCID-dxkv-8f9g-47e9"},{"vulnerability":"VCID-kjka-a931-uygj"},{"vulnerability":"VCID-v365-pn8r-e7dh"},{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/urllib3@2.2.3"},{"url":"http://public2.vulnerablecode.io/api/packages/775138?format=json","purl":"pkg:pypi/urllib3@2.3.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7wcj-zvjq-xud3"},{"vulnerability":"VCID-dxkv-8f9g-47e9"},{"vulnerability":"VCID-kjka-a931-uygj"},{"vulnerability":"VCID-v365-pn8r-e7dh"},{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/urllib3@2.3.0"},{"url":"http://public2.vulnerablecode.io/api/packages/775139?format=json","purl":"pkg:pypi/urllib3@2.4.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-7wcj-zvjq-xud3"},{"vulnerability":"VCID-dxkv-8f9g-47e9"},{"vulnerability":"VCID-kjka-a931-uygj"},{"vulnerability":"VCID-v365-pn8r-e7dh"},{"vulnerability":"VCID-zevs-1ge5-y7g7"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/urllib3@2.4.0"}],"references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-50182.json","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-50182.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-50182","reference_id":"","reference_type":"","scores":[{"value":"0.00022","scoring_system":"epss","scoring_elements":"0.05791","published_at":"2026-04-04T12:55:00Z"},{"value":"0.00022","scoring_system":"epss","scoring_elements":"0.05753","published_at":"2026-04-02T12:55:00Z"},{"value":"0.00023","scoring_system":"epss","scoring_elements":"0.0629","published_at":"2026-04-13T12:55:00Z"},{"value":"0.00023","scoring_system":"epss","scoring_elements":"0.06302","published_at":"2026-04-12T12:55:00Z"},{"value":"0.00023","scoring_system":"epss","scoring_elements":"0.06306","published_at":"2026-04-11T12:55:00Z"},{"value":"0.00023","scoring_system":"epss","scoring_elements":"0.06313","published_at":"2026-04-09T12:55:00Z"},{"value":"0.00023","scoring_system":"epss","scoring_elements":"0.06272","published_at":"2026-04-08T12:55:00Z"},{"value":"0.00023","scoring_system":"epss","scoring_elements":"0.06227","published_at":"2026-04-07T12:55:00Z"},{"value":"0.00066","scoring_system":"epss","scoring_elements":"0.20358","published_at":"2026-04-16T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-50182"},{"reference_url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"}],"url":"https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"},{"reference_url":"https://github.com/urllib3/urllib3","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/urllib3/urllib3"},{"reference_url":"https://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-06-23T16:55:48Z/"}],"url":"https://github.com/urllib3/urllib3/commit/7eb4a2aafe49a279c29b6d1f0ed0f42e9736194f"},{"reference_url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-06-23T16:55:48Z/"}],"url":"https://github.com/urllib3/urllib3/releases/tag/2.5.0"},{"reference_url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-06-23T16:55:48Z/"}],"url":"https://github.com/urllib3/urllib3/security/advisories/GHSA-48p4-8xcf-vxj5"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50182","reference_id":"","reference_type":"","scores":[{"value":"5.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-50182"},{"reference_url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108077","reference_id":"1108077","reference_type":"","scores":[],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108077"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2373800","reference_id":"2373800","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2373800"},{"reference_url":"https://github.com/advisories/GHSA-48p4-8xcf-vxj5","reference_id":"GHSA-48p4-8xcf-vxj5","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-48p4-8xcf-vxj5"},{"reference_url":"https://usn.ubuntu.com/7599-1/","reference_id":"USN-7599-1","reference_type":"","scores":[],"url":"https://usn.ubuntu.com/7599-1/"}],"weaknesses":[{"cwe_id":601,"name":"URL Redirection to Untrusted Site ('Open Redirect')","description":"A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."},{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."}],"exploits":[],"severity_range_score":"4.0 - 6.9","exploitability":"0.5","weighted_severity":"6.2","risk_score":3.1,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-dxkv-8f9g-47e9"}