{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-34457","id":"CVE-2023-34457","title":"MechanicalSoup vulnerable to malicious web server reading arbitrary files on client using file input inside HTML form","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.","descriptionLong":"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.","published":"2023-07-05T19:25:35.966Z","updated":"2026-10-28T02:30:27.285672592Z","reserved":"2023-06-06T16:16:53.559Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["MechanicalSoup"],"affectedProducts":[{"vendor":"MechanicalSoup","product":"MechanicalSoup","defaultStatus":null,"versions":[{"version":">= 0.2.0, < 1.3.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mechanicalsoup","purl":"pkg:pypi/mechanicalsoup","ranges":[">=0.2.0 <1.3.0","<1.3.0"],"fixed":["1.3.0"],"advisory":"GHSA-x456-3ccm-m6j4"}],"cwes":["CWE-20"],"aliases":["GHSA-x456-3ccm-m6j4","PYSEC-2023-108"],"references":[{"url":"https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/MechanicalSoup/MechanicalSoup/commit/d57c4a269bba3b9a0c5bfa20292955b849006d9e","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/MechanicalSoup/MechanicalSoup/releases/tag/v1.3.0","tags":["x_refsource_MISC","x_transferred","Release Notes","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230803-0005/","tags":["x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34457.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34457","tags":["advisory"]},{"url":"https://github.com/MechanicalSoup/MechanicalSoup","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mechanicalsoup/PYSEC-2023-108.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.01082,"epssPercentile":0.65921,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-34457","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34457","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-34457","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x456-3ccm-m6j4","ok":true,"note":"GHSA-x456-3ccm-m6j4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-34457","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}