Description
A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gradio-app | gradio-app/gradio | unspecified – < 4.19.2 | 4.19.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | gradio | < 4.19.2 | 4.19.2 | GHSA-48cq-79qq-6f7x |