Vulnerabilities · 2022 · Prestashop
CVE-2022-21686
Prestashop vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Prestashop. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Prestashop runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/PrestaShop/PrestaShop/commit/d02b469ec365822e6a9f017e57f588966248bf21 · Patch
- github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.3 · Third Party Advisory
- github.com/PrestaShop/PrestaShop/security/advisories/GHSA-mrq4-7ch7-2465 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-21686
- cve.org/CVERecord?id=CVE-2022-21686
More vulnerabilities in Prestashop products
CVE-2025-61924CVE-2025-61923CVE-2025-61922CVE-2025-51586CVE-2025-25692CVE-2025-25691CVE-2024-41651CVE-2024-36684All 124
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.