medium5.4
CVE-2024-4940
Open redirect in gradio
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | gradio | <= 4.36.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gradio Project | Gradio | Version 4.36.0 |