GitHub Advisory Database
GHSA-mrq4-7ch7-2465
Server Side Twig Template Injection
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | prestashop/prestashop | From 1.7.0.0 before 1.7.8.3 (fixed in 1.7.8.3) |
References
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-mrq4-7ch7-2465
- https://nvd.nist.gov/vuln/detail/CVE-2022-21686
- https://github.com/PrestaShop/PrestaShop/commit/d02b469ec365822e6a9f017e57f588966248bf21
- https://github.com/PrestaShop/PrestaShop
- https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.3