CVE Catalog

CVE-2023-34457

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.90%

55th percentile - higher than 55% of all known CVEs

Summary

MechanicalSoup is a Python library for automating interaction with websites. In versions from 0.2.0 to prior to 1.3.0, a malicious web server can read arbitrary files on the client using an `<input type="file" ...>` inside an HTML form.

Risk Assessment

All users of MechanicalSoup's form submission are affected unless they took very specific (and manual) steps to reset HTML form field values. This may lead to unauthorized access to user data.

Recommendation

It is recommended to upgrade to version 1.3.0, which contains a patch for this issue. Users should also consider reviewing and securing their HTML forms.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS