Skip to main content
Network Thinking Solutions Logo

CVE-2023-34457

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

All CVEs
CVE-2023-34457Published 7/5/2023

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

Vendor advisory
CVSS7.5High

Overview

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
7/5/2023
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
mechanicalsoup
mechanicalsoup project
< 1.3.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
MechanicalSoup
MechanicalSoup
>= 0.2.0, < 1.3.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
mechanicalsoup
mechanicalsoup_project
≥ 0.2.0, < 1.3.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.