Security mailing lists by PureSourceCode

CVE-2023-34457

HIGH 7.5CVSS 3.1

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

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
5 Jul 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-x456-3ccm-m6j4PYSEC-2023-108
Sources
NVDJSONOSV GHSA-x456-3ccm-m6j4JSONOSV PYSEC-2023-108JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mechanicalsoup_project mechanicalsoup
cpe:2.3:a:mechanicalsoup_project:mechanicalsoup:*:*:*:*:*:python:*:*
< 1.3.0 1.3.0
OSV PyPI mechanicalsoup >= 0.2.0, < 1.3.0 1.3.0
OSV PyPI mechanicalsoup < 1.3.0 1.3.0

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 5 Jul 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Jul 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Jul 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.