{
 "id": "AIR-2024-0187",
 "slug": "cve-2024-47872-gradio-cross-site-scripting-via-file-uploads",
 "title": "CVE-2024-47872: Gradio cross-site scripting via file uploads",
 "summary": "An XSS vulnerability affects Gradio servers that allow file uploads of malicious scripts like HTML or SVG files. The flaw enables attackers to execute scripts in other users' browsers.",
 "type": "attack_on_ai",
 "categories": [
  "infra_vuln"
 ],
 "severity": 2,
 "targets": [
  "framework_or_tooling"
 ],
 "products": [
  "Gradio"
 ],
 "incident_date": "2024-10-10",
 "incident_date_precision": "day",
 "first_reported": "2024-10-10",
 "sources": [
  {
   "url": "https://github.com/advisories/GHSA-gvv6-33j7-884g",
   "publisher": "GitHub Advisory Database",
   "title": "CVE-2024-47872: Gradio has an XSS on every Gradio server via upload of HTML files, JS files, or SVG files",
   "published_at": "2024-10-10"
  },
  {
   "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-47872",
   "publisher": "NVD",
   "title": "CVE-2024-47872: Gradio is an open-source Python package designed for quick prototyping.",
   "published_at": "2024-10-10"
  }
 ],
 "source_count": 2,
 "confidence": 0.95,
 "status": "published",
 "origin": "seed_ghsa",
 "tags": [
  "CVE-2024-47872",
  "xss",
  "gradio"
 ],
 "created_at": "2026-10-18T07:00:14.101Z",
 "updated_at": "2026-10-18T10:04:21.885Z"
}
