Live threats

All CVEs / Prestashop

CVE-2022-21686Prestashop

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Jan 26, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Prestashop.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist prestashop/prestashop ≥ 1.7.0.0 < 1.7.8.3 1.7.8.3 composer require "prestashop/prestashop:^1.7.8.3"

Per OSV / GitHub Advisories (GHSA-mrq4-7ch7-2465). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
prestashopprestashop≥ 1.7.0.0 ≤ 1.7.8.3

Official sources

References

Links published by the sources. Open them with care.