{"id":"CVE-2023-34457","summary":"MechanicalSoup vulnerable to malicious web server reading arbitrary files on client using file input inside HTML form","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 `\u003cinput type=\"file\" ...\u003e` 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.","aliases":["GHSA-x456-3ccm-m6j4","PYSEC-2023-108"],"modified":"2026-04-24T04:07:45.963696Z","published":"2023-07-05T19:25:35.966Z","related":["openSUSE-SU-2024:13499-1"],"database_specific":{"cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34457.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v1.3.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34457.json"},{"type":"ADVISORY","url":"https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34457"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230803-0005/"},{"type":"FIX","url":"https://github.com/MechanicalSoup/MechanicalSoup/commit/d57c4a269bba3b9a0c5bfa20292955b849006d9e"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mechanicalsoup/mechanicalsoup","events":[{"introduced":"0"},{"fixed":"16238f4b726a09563150a2a818cded51ac7d7c1f"},{"fixed":"d57c4a269bba3b9a0c5bfa20292955b849006d9e"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.3.0"}],"source":["CPE_FIELD","REFERENCES"],"cpe":"cpe:2.3:a:mechanicalsoup_project:mechanicalsoup:*:*:*:*:*:python:*:*"}}],"versions":["v0.0.2","v0.0.3","v0.1.0","v0.1.1","v0.1.2","v0.11.0","v0.12.0","v0.2.0","v0.2.1","v0.2.2","v0.3.0","v0.3.1","v0.4.0","v0.5.0","v0.6.0","v0.8.0","v0.9.0","v1.0.0","v1.1.0","v1.2.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-34457.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}