Monday 16 November
Global

Your region, kept on this device.

Vulnerability

CVE-2026-124916

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.

CVSS score (v3.1)5.4Medium
Not on CISA KEV list

Am I affected?

Sign in and add the software you use to your watchlist: we check it against every new vulnerability.

Show me how to fix it

Timeline

  1. First covered by RedTeamDaily
  2. Published by NVD
  3. Last updated by NVD

Coverage

CERT/CC Vulnerability Notes· · High

PrestaShop debug mode flaw allows PHP code injection by authenticated back-office users

's back-office Debug mode does not properly escape the debugcookiename and debugcookievalue settings before writing them into a PHP define() statement. An authenticated user with permission to change debug settings can inject PHP that executes on a later request, with the privileges of the PHP process. The vendor fix is version 9.2.1.

Sources: NVD and CISA known exploited vulnerabilities catalogue.