Monday 16 November
Global

Your region, kept on this device.

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

Severity
High
Highest CVSS
5.4
Exploited
Not known
Sources
1

'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.

For IT people · Written by AI from 1 source · Wrong?

What to do

  1. Upgrade PrestaShop to version 9.2.1 or later.
  2. Limit Performance and Debug mode permissions to trusted administrators only.
  3. Restrict network access to the back office where possible.
  4. Prevent the PHP process from writing to config/defines.inc.php and config/definescustom.inc.php if an immediate upgrade is not possible.

Written by AI from the sources, checked against them

Vulnerabilities

Full story timeline · 2 updates

  1. Mon 9 NovemberVU#385711: PrestaShop Performance Debug Configuration Contains a PHP Code Injection VulnerabilityCERT/CC Vulnerability Notes
  2. CVE-2026-124916 published, CVSS 5.4NVD

Who reported · 1 outlet

CERT/CC Vulnerability Notes

Who and what is in it

Products

Report a problem