CVE-2024-4940
MEDIUM 6.1CVSS 3.1Open redirect in gradio
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.
- Published
- 22 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-601
- Also known as
- GHSA-g6c9-f4xm-9j4xPYSEC-2026-1414
- Sources
- NVDJSONOSV GHSA-g6c9-f4xm-9j4xJSONOSV PYSEC-2026-1414JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gradio_project | gradiocpe:2.3:a:gradio_project:gradio:4.36.0:*:*:*:*:python:*:* |
= 4.36.0 | |
| OSV | PyPI | gradio | <= 4.36.1 |
References
- https://huntr.com/bounties/35aaea93-6895-4f03-9c1b-cd992665aa60 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-4940 · ADVISORY
- https://github.com/gradio-app/gradio · PACKAGE
- https://pypi.org/project/gradio · PACKAGE
- https://github.com/advisories/GHSA-g6c9-f4xm-9j4x · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 22 Jun 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jun 2024)