Code Injection in PrestaShop - #VU169997
Published: November 24, 2026
Vulnerability details
The vulnerability allows a remote privileged user to execute arbitrary PHP code with the web server user's privileges or cause a denial of service affecting both the storefront and back office.
The vulnerability exists due to improper control of PHP code generation in the back-office Performance page's Debug Mode settings when writing the configured debug cookie name and value to a PHP file without validation or escaping. A remote privileged user can use Performance permissions to save crafted cookie settings to execute PHP code on subsequent requests or make the generated file invalid and disrupt service.