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.
https://huntr.com/bounties/a94d55fb-0770-4cbe-9b20-97a978a2ffff
https://github.com/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a