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

CVE-2026-124916 (CERT/CC VU385711) is a PHP code injection in 's Performance Debug mode. The debugcookiename and debugcookievalue values are written unescaped into define() in config/defines.inc.php or config/definescustom.inc.php, and the injected code runs on a subsequent request. Exploitation needs an authenticated back-office account with debug-mode permission and a PHP-writable config file. Affected versions are not yet confirmed; PrestaShop 9.2.1 fixes it. Defenders should upgrade to 9.2.1 or later, restrict debug-mode permissions and back-office access, and make the config files non-writable by the PHP process if upgrade is not immediate.

For security analysts · 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