{"id":"CVE-2024-4940","summary":"Open Redirect in gradio-app/gradio","details":"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.","aliases":["GHSA-g6c9-f4xm-9j4x","PYSEC-2026-1414"],"modified":"2026-11-09T10:45:29.147790176Z","published":"2024-06-22T05:23:49.761Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-601"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4940.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/35aaea93-6895-4f03-9c1b-cd992665aa60"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4940.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4940"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gradio-app/gradio","events":[{"introduced":"6324d184dd42b1baa8174cdbd5ae77e5e25378c8"},{"last_affected":"6324d184dd42b1baa8174cdbd5ae77e5e25378c8"}],"database_specific":{"extracted_events":[{"source":"CPE_STRING","cpe":"cpe:2.3:a:gradio_project:gradio:4.36.0:*:*:*:*:python:*:*","range":[{"introduced":"4.36.0"},{"last_affected":"4.36.0"}]}]}}],"versions":["4.36.0","gradio@4.36.0","@gradio/lite@4.36.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4940.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}