CVE-2026-124916

PrestaShop Performance Debug Configuration PHP Code Injection

Published Nov 9, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A back‑office user with permission to change Performance debug settings can submit a crafted debug cookie name or value that is written directly—without proper escaping—to a PHP configuration file. When PrestaShop loads this file, the injected code runs with web‑server privileges, allowing an attacker to execute arbitrary PHP code on the host. This constitutes full remote code execution on the affected installation.

Affected Systems

PrestaShop installations where the Performance debug mode is enabled and users with debug‑configuration privileges are present. Versions are unspecified, but all releases prior to a forthcoming patch are susceptible.

Risk and Exploitability

The flaw can be exploited by anyone with back‑office access; the attack vector is local authenticated. CVSS score 5.4 is provided in the advisory, the EPSS is not available, but the vulnerability permits complete compromise of the server. It is not currently listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest PrestaShop version that includes the official fix for the debug‑mode injection issue
  • If updating is not immediately possible, disable the Performance debug mode entirely to eliminate the vulnerable configuration pathway
  • Limit edit permissions for the debug‑settings configuration to the minimum necessary users to reduce the risk of accidental or malicious exploitation
  • Apply input sanitization or escaping to the debug_cookie_name and debug_cookie_value parameters if custom modifications are made
  • Review the configuration files for the debug mode to ensure no injected code remains after changes

Generated by OpenCVE AI on November 9, 2026 at 19:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-74
Type Values Removed Values Added
First Time appeared Prestashop
Prestashop prestashop
Weaknesses CWE-74
Vendors & Products Prestashop
Prestashop prestashop
Type Values Removed Values Added
Weaknesses CWE-79
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
Description 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.
Title PrestaShop Performance Debug Configuration PHP Code Injection
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Nov 9, 2026, 5:05 PM
Reserved
Nov 9, 2026, 2:47 PM
Status
Deferred
Published
Nov 9, 2026, 3:17 PM
Modified
Nov 12, 2026, 7:22 PM