—
PYSEC-2023-108
Quick fix
PYSEC-2023-108 — mechanicalsoup: upgrade to the fixed version with the command below.
pip install --upgrade 'mechanicalsoup>=d57c4a269bba3b9a0c5bfa20292955b849006d9e'Details
MechanicalSoup is a Python library for automating interaction with websites. Starting in version 0.2.0 and prior to version 1.3.0, a malicious web server can read arbitrary files on the client using a `<input type="file" ...>` inside HTML form. All users of MechanicalSoup's form submission are affected, unless they took very specific (and manual) steps to reset HTML form field values. Version 1.3.0 contains a patch for this issue.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/mechanicalsoup
Introduced in:
0Fixed in: d57c4a269bba3b9a0c5bfa20292955b849006d9eFix
pip install --upgrade 'mechanicalsoup>=d57c4a269bba3b9a0c5bfa20292955b849006d9e'