CVE-2023-34457
Reported by github_m · Published July 5, 2023
MechanicalSoup is fixed in d57c4a269bba3b9a0c5bfa20292955b849006d9e and 1.3.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| MechanicalSoup | PyPI | d57c4a269bba3b9a0c5bfa20292955b849006d9e, 1.3.0 |
| mechanicalsoup | mechanicalsoup_project | 1.3.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MechanicalSoup | MechanicalSoup | >= 0.2.0, < 1.3.0 |
| PyPI | MechanicalSoup | 0.2.0 |
| MechanicalSoup | MechanicalSoup | 0.2.0 |
| mechanicalsoup_project | mechanicalsoup | 0.2.0 |
Timeline
- Jul 5, 2023 CVE Published
- Jul 6, 2023 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Feb 13, 2026 Security Advisory
- Aug 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-34457
vulnetix vdb fixes CVE-2023-34457
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-34457/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4 x_refsource_CONFIRM
- https://github.com/MechanicalSoup/MechanicalSoup/commit/d57c4a269bba3b9a0c5bfa20292955b849006d9e x_refsource_MISC
- https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v1.3.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2023-34457 advisory
- https://github.com/advisories/GHSA-x456-3ccm-m6j4 advisory
- https://github.com/MechanicalSoup/MechanicalSoup url
- https://github.com/pypa/advisory-database/tree/main/vulns/mechanicalsoup/PYSEC-2023-108.yaml advisory