{"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-08-12T03:51:37.692061912Z","published":"2024-06-22T05:23:49.761Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4940.json","cna_assigner":"@huntr_ai","cwe_ids":["CWE-601"]},"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":"a2cd8a9838864596318a686510f15e7998a27880"},{"last_affected":"a2cd8a9838864596318a686510f15e7998a27880"}],"database_specific":{"cpe":"cpe:2.3:a:gradio_project:gradio:4.36.0:*:*:*:*:python:*:*","extracted_events":[{"introduced":"4.36.0"},{"last_affected":"4.36.0"}],"source":"CPE_STRING"}}],"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.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}