DescriptionMechanicalSoup 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1041814

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-mechanicalsoup (PTS)buster0.10.0-2vulnerable
sid, trixie1.3.0-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[bookworm] - python-mechanicalsoup <no-dsa> (Minor issue)
[bullseye] - python-mechanicalsoup <no-dsa> (Minor issue)
[buster] - python-mechanicalsoup <no-dsa> (Minor issue; invasive backport required) (v1.3.0)

Search for package or bug name: Reporting problems