Critical severityNVD Advisory· Published Jan 26, 2022· Updated Apr 23, 2025
Server Side Twig Template Injection in PrestaShop
CVE-2022-21686
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
prestashop/prestashopPackagist | >= 1.7.0.0, < 1.7.8.3 | 1.7.8.3 |
Affected products
2- Range: >= 1.7.0.0, < 1.7.8.3
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-mrq4-7ch7-2465ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-21686ghsaADVISORY
- github.com/PrestaShop/PrestaShop/commit/d02b469ec365822e6a9f017e57f588966248bf21ghsax_refsource_MISCWEB
- github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.3ghsax_refsource_MISCWEB
- github.com/PrestaShop/PrestaShop/security/advisories/GHSA-mrq4-7ch7-2465ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.