Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. gradio
  4. ›
  5. CVE-2024-4940

CVE-2024-4940: Open redirect in gradio

June 22, 2024 (updated June 24, 2024)

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.

References

  • github.com/advisories/GHSA-g6c9-f4xm-9j4x
  • github.com/gradio-app/gradio
  • huntr.com/bounties/35aaea93-6895-4f03-9c1b-cd992665aa60
  • nvd.nist.gov/vuln/detail/CVE-2024-4940

Code Behaviors & Features

Detect and mitigate CVE-2024-4940 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.36.1

Solution

Unfortunately, there is no solution available yet.

Impact 5.4 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

pypi/gradio/CVE-2024-4940.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:43 +0000.