Lucene search

K
osvGoogleOSV:GHSA-3X9G-XFJ5-FQ84
HistoryMar 21, 2024 - 9:31 p.m.

Cross-Site Request Forgery in Gradio

2024-03-2121:31:15
Google
osv.dev
2
cross-site request forgery
gradio
attackers
upload
files
cors
rules

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

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.

6.8 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

Related for OSV:GHSA-3X9G-XFJ5-FQ84