Duplicate Advisory: Cross-Site Request Forgery in Gradio
Moderate severity
GitHub Reviewed
Published
Mar 21, 2024
to the GitHub Advisory Database
•
Updated May 21, 2024
Withdrawn
This advisory was withdrawn on May 21, 2024
Description
Published by the National Vulnerability Database
Mar 21, 2024
Published to the GitHub Advisory Database
Mar 21, 2024
Reviewed
Mar 22, 2024
Withdrawn
May 21, 2024
Last updated
May 21, 2024
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-48cq-79qq-6f7x. this link is maintained to preserve external references.
Original Description
A Cross-Site Request Forgery gives attackers the ability to upload many large files to a victim, if they are running Gradio locally. To resolve this a PR tightening the CORS rules around Gradio applications has been submitted. In particular, it checks to see if the host header is localhost (or one of its aliases) and if so, it requires the origin header (if present) to be localhost (or one of its aliases) as well.
References