CVE-2022-31181

Remote code execution in prestashop

Published Aug 1, 2022 CVSS 3.1 · 9.8 Critical EPSS 7.7% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hrgx-p36p-89q4 PrestaShop eval injection possible if shop vulnerable to SQL injection
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 23, 2025, 5:56 PM
Reserved
May 18, 2022, 12:00 AM
Status
Modified
Published
Aug 1, 2022, 8:15 PM
Modified
Jun 17, 2026, 4:44 AM