CVE-2022-31181

published 1 Aug 2022 · updated 23 Apr 2025

Remote code execution in prestashop

10.0CriticalCVSS 9.8EPSS 8%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 8%. No fixed version is recorded.

PrestaShop is an Open Source e-commerce platform. In versions from 1.6.0.10 and before 1.7.8.7 PrestaShop is subject to an SQL injection vulnerability which can be chained to call PHP's Eval function on attacker input. The problem is fixed in version 1.7.8.7. Users are advised to upgrade. Users unable to upgrade may delete the MySQL Smarty cache feature.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
PrestaShop>=1.6.0.10 <1.7.8.7

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-31181 severity on Zeptric[![CVE-2022-31181](https://zeptric.io/badge/cve/CVE-2022-31181.svg)](https://zeptric.io/cve/CVE-2022-31181)