CVE-2026-124916
PrestaShop contains an authenticated PHP code injection vulnerability in the back-office Performance debug-mode configuration.
Impact
PrestaShop contains an authenticated PHP code injection vulnerability in the back-office Performance debug-mode configuration. A back-office user with permission to modify debug settings can supply a crafted `debug_cookie_name` or `debug_cookie_value` that is written without sufficient escaping into a PHP configuration file. When PrestaShop subsequently loads the generated file, the injected PHP code is executed with the privileges of the web-server process.
An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products · PrestaShop
| Product | Affected versions |
|---|---|
| PrestaShop | from 1.5.0.0 before 9.2.1 |