CVE-2022-31181 CRITICAL

CVE-2022-31181: Remote code execution in prestashop

Vendor Prestashop
Product PrestaShop
Weakness CWE-89 · SQLi
Published August 1, 2022
Last update April 23, 2025

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 1, 2022 CVE published
April 23, 2025 Record updated