← Vulnerability feed

Vulnerability record · CVE-2022-21686 · published 26 January 2022

CVE-2022-21686: Prestashop code injection vulnerability

Prestashop · Prestashop

PrestaShop is an Open Source e-commerce platform. Starting with version 1.7.0.0 and ending with version 1.7.8.3, an attacker is able to inject twig code inside the back office when using the legacy layout. The problem is fixed in version 1.7.8.3. There are no known workarounds.

9.8 CVSS 3.1 Critical EPSS 1.8% · top 22.6% CWE-94 · Code injection
9.8CVSS 3.1 base score, v2 7.5
1.8%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

Description

PrestaShop is an Open Source e-commerce platform. Starting with version 1.7.0.0 and ending with version 1.7.8.3, an attacker is able to inject twig code inside the back office when using the legacy layout. The problem is fixed in version 1.7.8.3. There are no known workarounds.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-21686 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2008-5791Prestashop vulnerabilityMultiple unspecified vulnerabilities in PrestaShop e-Commerce Solution before 1.1 Beta 2 (aka 1.1.0.1) have unknown impact and attack vectors, relate…EPSS 1.5%9.9CVE-2023-30838Prestashop cross-site scripting vulnerabilityPrestaShop is an Open Source e-commerce web application. Prior to versions 8.0.4 and 1.7.8.9, the `ValidateCore::isCleanHTML()` method of Prestashop …EPSS 1.0%9.8CVE-2023-39526Prestashop sql injection vulnerabilityPrestaShop is an open source e-commerce web application. Versions prior to 1.7.8.10, 8.0.5, and 8.1.1 are vulnerable to remote code execution through…EPSS 1.7%9.8CVE-2023-39524Prestashop sql injection vulnerabilityPrestaShop is an open source e-commerce web application. Prior to version 8.1.1, SQL injection possible in the product search field, in BO's product …EPSS 0.66%9.8CVE-2022-31181Prestashop injection vulnerabilityPrestaShop 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 vulnerabilit…EPSS 6.6%9.8CVE-2021-43789Prestashop sql injection vulnerabilityPrestaShop is an Open Source e-commerce web application. Versions of PrestaShop prior to 1.7.8.2 are vulnerable to blind SQL injection using search f…EPSS 4.6%9.8CVE-2021-3110Prestashop sql injection vulnerabilityThe store system in PrestaShop 1.7.7.0 allows time-based boolean SQL injection via the module=productcomments controller=CommentGrade id_products[] p…EPSS 19%9.8CVE-2020-15160Prestashop sql injection vulnerabilityPrestaShop from version 1.7.5.0 and before version 1.7.6.8 is vulnerable to a blind SQL Injection attack in the Catalog Product edition page with loc…EPSS 11%

Source: NIST National Vulnerability Database (record CVE-2022-21686), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.