Skip to main content

Improper Input Validation


Severity High
Score 7.5/10


MechanicalSoup is a Python library for automating interaction with websites. Versions 0.2.0 through 1.2.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.

  • LOW
  • NONE
  • NONE
  • NONE
  • HIGH
  • NONE

CWE-20 - Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Advisory Timeline

  • Published