Improper Input Validation Affecting opencart/opencart package, versions <

  • Exploit Maturity

    Proof of concept

  • Attack Complexity


  • Confidentiality


  • Integrity


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    26 Jul 2022

  • disclosed

    26 Jun 2022

  • credit

    Janek Vind

How to fix?

Upgrade opencart/opencart to version or higher.


opencart/opencart is a shopping cart system

Affected versions of this package are vulnerable to Improper Input Validation in the directory(), files(), create(), delete(), move(), copy(), rename(), and upload() functions in filemanager.php, which allows access to files outside of the intended image/data/ directory. Attackers can supply a value including path traversal substrings (e.g. ..\ on Windows or ..././ on other operating systems) to any of the parameters directory, name, path, from, or `to to gain access to unintended locations on the filesystem.