CVE-2022-21686: Server Side Twig Template Injection in 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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-21686?
CVE-2022-21686 is a vulnerability in PrestaShop e-commerce platform versions 1.7.0.0 to 1.7.8.3 that allows attackers to inject twig code in the back office when using the legacy layout.
What is the severity of CVE-2022-21686?
CVE-2022-21686 has a severity rating of 9.8 (Critical).
How can an attacker exploit CVE-2022-21686?
An attacker can exploit CVE-2022-21686 by injecting twig code in the back office of affected PrestaShop versions.
How can I fix CVE-2022-21686?
To fix CVE-2022-21686, you should update your PrestaShop installation to version 1.7.8.3 or later.
Are there any known workarounds for CVE-2022-21686?
No, there are no known workarounds for CVE-2022-21686. Updating to the fixed version is the recommended solution.