CVE-2022-21686
Server Side Twig Template Injection
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | prestashop/prestashop | 1.7.8.3 |
References
- https://github.com/PrestaShop/PrestaShop
- https://github.com/PrestaShop/PrestaShop/commit/d02b469ec365822e6a9f017e57f588966248bf21
- https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.3
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-mrq4-7ch7-2465
- https://nvd.nist.gov/vuln/detail/CVE-2022-21686