Lucene search

K
osvGoogleOSV:GHSA-FJQ3-5PXW-4WJ4
HistoryApr 07, 2021 - 9:06 p.m.

Cross-Site Request Forgery in Webargs

2021-04-0721:06:30
Google
osv.dev
8

0.001 Low

EPSS

Percentile

31.7%

flaskparser.py in Webargs 5.x through 5.5.2 doesn’t check that the Content-Type header is application/json when receiving JSON input. If the request body is valid JSON, it will accept it even if the content type is application/x-www-form-urlencoded. This allows for JSON POST requests to be made across domains, leading to CSRF.

0.001 Low

EPSS

Percentile

31.7%

Related for OSV:GHSA-FJQ3-5PXW-4WJ4