{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.36.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "a2cd8a9838864596318a686510f15e7998a27880"
            }
          ],
          "repo": "https://github.com/gradio-app/gradio",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2024-4940",
  "modified": "2026-03-13T21:52:20.496579248Z",
  "published": "2024-06-22T06:15:11.137Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://huntr.com/bounties/35aaea93-6895-4f03-9c1b-cd992665aa60"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}