{"id":"PYSEC-2023-108","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":["CVE-2023-34457","GHSA-x456-3ccm-m6j4"],"modified":"2023-11-08T04:12:47.185790Z","published":"2023-07-05T20:15:00Z","references":[{"type":"WEB","url":"https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v1.3.0"},{"type":"ADVISORY","url":"https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4"},{"type":"FIX","url":"https://github.com/MechanicalSoup/MechanicalSoup/commit/d57c4a269bba3b9a0c5bfa20292955b849006d9e"}],"affected":[{"package":{"name":"mechanicalsoup","ecosystem":"PyPI","purl":"pkg:pypi/mechanicalsoup"},"ranges":[{"type":"GIT","repo":"https://github.com/MechanicalSoup/MechanicalSoup","events":[{"introduced":"0"},{"fixed":"d57c4a269bba3b9a0c5bfa20292955b849006d9e"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0"}]}],"versions":["0.0.2","0.0.3","0.1.0","0.1.1","0.1.2","0.10.0","0.11.0","0.12.0","0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.4.0","0.5.0","0.6.0","0.7.0","0.8.0","0.9.0","0.9.0.post1","0.9.0.post2","0.9.0.post3","0.9.0.post4","1.0.0","1.1.0","1.2.0"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/mechanicalsoup/PYSEC-2023-108.yaml"}}],"schema_version":"1.7.3"}