CVE-2022-21686: Server Side Twig Template Injection in PrestaShop

Published Jan 26, 2022
·
Updated

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

1 affected component
Prestashop PrestaShop>=1.7.0.0<=1.7.8.3

Event History

Jan 26, 2022
CVE Published
via MITRE·08:10 PM
Data Sourced
via MITRE·08:10 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

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.

2

What is the severity of CVE-2022-21686?

CVE-2022-21686 has a severity rating of 9.8 (Critical).

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203