{"cve":"CVE-2023-34457","nvd":{"published":"2023-07-05T20:15:10.343","modified":"2026-06-17T06:03:41.443","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-20"],"references":["https://github.com/MechanicalSoup/MechanicalSoup/commit/d57c4a269bba3b9a0c5bfa20292955b849006d9e","https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v1.3.0","https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4","https://security.netapp.com/advisory/ntap-20230803-0005/","https://github.com/MechanicalSoup/MechanicalSoup/commit/d57c4a269bba3b9a0c5bfa20292955b849006d9e"],"products":["mechanicalsoup_project:mechanicalsoup"],"source":"nvd","synced_at":"2026-10-19T21:38:30.124994567+00:00"},"epss":{"cve":"CVE-2023-34457","score":0.01082,"percentile":0.65181,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-x456-3ccm-m6j4","url":"https://osv.dev/vulnerability/GHSA-x456-3ccm-m6j4","summary":"MechanicalSoup vulnerable to malicious web server reading arbitrary files on client using file input inside HTML form","modified":"2026-09-10T03:49:57.413581751Z","packages":[{"ecosystem":"PyPI","name":"mechanicalsoup","purl":"pkg:pypi/mechanicalsoup","ranges":[">=0.2.0 <1.3.0"],"fixed":["1.3.0"]}]},{"id":"PYSEC-2023-108","url":"https://osv.dev/vulnerability/PYSEC-2023-108","summary":"","modified":"2023-11-08T04:12:47.185790Z","packages":[{"ecosystem":"PyPI","name":"mechanicalsoup","purl":"pkg:pypi/mechanicalsoup","ranges":["<1.3.0"],"fixed":["1.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}