{"id":"CVE-2024-4940","published":"2024-06-22T05:23:49Z","modified":"2025-10-15T12:50:24Z","title":"Open Redirect in gradio-app/gradio","vendor":"gradio-app","product":"gradio-app/gradio","tier":"tail","description":{"text":"An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery (SSRF), amongst others. This issue is due to improper validation of user-supplied input in the handling of URLs. Attackers can exploit this vulnerability by crafting a malicious URL that, when processed by the application, redirects the user to an attacker-controlled web page.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01021,"percentile":0.64251,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://huntr.com/bounties/35aaea93-6895-4f03-9c1b-cd992665aa60","tags":[]}],"priority":{"score":21.6,"factors":[{"name":"EPSS percentile","points":12.85},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.78}]},"exploitSources":{"nuclei":[{"id":"CVE-2024-4940","name":"Gradio - Open Redirect","severity":"medium","path":"http/cves/2024/CVE-2024-4940.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-4940.yaml"}],"provenance":"source"},"vendorSlug":"gradio-app","affectedVersions":[{"vendor":"gradio-app","product":"gradio-app/gradio","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-24T14:09:04.198943Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gradio","vulnerableRanges":["<=4.36.1"],"patched":[],"from":["GHSA-g6c9-f4xm-9j4x","PYSEC-2026-1414"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-2050","exploited":false,"provenance":"source"}}