VDB
Sign up
HIGH8.8

PYSEC-2022-43167

Quick fix

PYSEC-2022-43167 — selenium: upgrade to the fixed version with the command below.

pip install --upgrade 'selenium>=4.0.0'

Details

Selenium Server (Grid) before 4 allows CSRF because it permits non-JSON content types such as application/x-www-form-urlencoded, multipart/form-data, and text/plain.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/selenium
Introduced in: 0Fixed in: 4.0.0
Fixpip install --upgrade 'selenium>=4.0.0'

References