CVE-2023-34457

MechanicalSoup vulnerable to malicious web server reading arbitrary files on client using file input inside HTML form

Published Jul 5, 2023 CVSS 3.1 · 5.9 Medium EPSS 1.0% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0143 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.
Github GHSA Github GHSA GHSA-x456-3ccm-m6j4 MechanicalSoup vulnerable to malicious web server reading arbitrary files on client using file input inside HTML form
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 4:55 PM
Reserved
Jun 6, 2023, 4:16 PM
Status
Modified
Published
Jul 5, 2023, 8:15 PM
Modified
Jun 17, 2026, 6:03 AM