Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to back-office with Performance permission
-
DeliverySubmit crafted debug_cookie_name/value with PHP payload
-
ExploitPayload written unescaped into generated PHP config file
-
ExecutionInjected code executes as web-server user on every request
-
ImpactServer-side code execution and privilege escalation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated PrestaShop back-office employee account whose profile holds the Performance page permission; the attacker edits the debug-mode debug_cookie_name or debug_cookie_value fields, which are written unescaped into a generated PHP configuration file and then executed on every request. Limiting factors: this is not remote-unauthenticated - a valid back-office session with the specific Performance permission is needed, so the realistic threat is a semi-trusted insider or a hijacked employee account rather than the anonymous internet. The vendor workaround explicitly notes exposure is bounded by who holds the Performance permission: restricting that permission to profiles already trusted with server code execution removes the practical escalation. Affected PrestaShop versions below 9.2.1 (version lower bound unconfirmed - see confidence notes); updating to 9.2.1 is the vendor's complete fix. |
| Impact | Signals conflict and overall point to a serious-but-constrained issue rather than a mass-exploitation emergency. The input CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, base 5.4) materially understates technical impact: the GHSA advisory and the SSVC Technical Impact of 'total' describe arbitrary PHP code execution with web-server privileges, which is full confidentiality, integrity and availability loss, not the 'Low' impacts the published vector assigns. CWE labeling also conflicts - the input tag is CWE-79 (XSS) but the vendor advisory assigns CWE-94 (code injection), and the mechanism described (unescaped values written into a generated PHP file) is code injection, not XSS. Mitigating factors: PR:L means a valid authenticated back-office account holding the Performance permission is required, so this is a privilege-escalation path for a semi-trusted insider rather than remote-unauthenticated RCE. SSVC Exploitation is 'none' and Automatable 'no', no CISA KEV listing and no public exploit is identified; the vendor/vuln.today priority is 'this_month', consistent with 'patch promptly, not an active-exploitation fire-drill.' No EPSS score was provided, so probabilistic exploitation likelihood cannot be weighed. Net: real priority for any PrestaShop operator who delegates the Performance permission to non-code-trusted staff, but lower urgency where that permission is already restricted to administrators. |
| Exploit ScenarioDerived | A back-office employee holding only the Performance permission opens the Performance/debug-mode configuration and sets the debug_cookie_name or debug_cookie_value field to a value containing PHP code. Because the value is written into a generated PHP configuration file without escaping, the injected code is persisted and then executed with web-server privileges on every subsequent request, including front-office requests, giving the low-privilege employee server-side code execution. No public exploit identified at time of analysis; AC:L indicates the configuration change is straightforward once the attacker holds the required permission. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
PHP code injection in the PrestaShop back-office Performance debug-mode settings, fixed in 9.2.1, lets an authenticated employee whose profile holds only the Performance page permission write arbitrary PHP into a generated configuration file that is then executed on every storefront and back-office request with the web-server user's privileges. Because that permission normally does not allow module installation or editing other employees, the flaw is an insider privilege-escalation path rather than an anonymous-internet attack: exploitation requires a valid back-office session with the specific debug-settings permission, though it needs no victim interaction once that access exists. No public exploit code or active exploitation has been identified at time of analysis (CISA SSVC exploitation: none), but a malformed value also breaks the generated file and can take both the front office and back office offline, so availability impact is real even without a deliberate attacker.
RemediationAI
Vendor-released patch: upgrade PrestaShop to 9.2.1, which the advisory names as the complete fix for the debug-mode code injection. If the upgrade cannot be scheduled immediately, the vendor's documented workaround is to restrict the back-office Performance page permission to profiles that are already trusted with code execution on the server - removing that permission from ordinary employee profiles eliminates the escalation path for semi-trusted staff and hijacked accounts, at the cost that legitimate debug-mode configuration can then only be managed by a small, high-trust group. Note that the same write path can corrupt the generated configuration file and take both the front office and the back office down, so the workaround also reduces the chance of an accidental storefront outage from a malformed debug cookie value; because exploitation requires a valid back-office session, auditing and promptly revoking stale employee accounts with Performance permissions is a complementary containment step. Full details and any advisory updates are at https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-95f5-jc9c-gg3q.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a server-side code-generation flaw in PrestaShop's back-office Performance page: the debug-mode debug_cookie_name and debug_cookie_value inputs are persisted into a PHP configuration file of the shop without validation or escaping, and PHP then evaluates that file on each request. The advisory classifies the root cause as CWE-94 (Improper Control of Generation of Code / Code Injection), which matches the evidence that attacker-supplied text becomes executable PHP rather than a browser-rendered script - the CWE-79/XSS label carried in some metadata feeds and the accompanying 'XSS' tag appear to be a misclassification of the same sink. CPE coverage is expressed as a wildcard version range for cpe:2.3:a:prestashop:prestashop, and the Composer package metadata bounds the vulnerable code as >= 9.0.0 and < 9.2.1 (fixed in 9.2.1), while EUVD lists the range as 1.5.0.0 through below 9.2.1; the true lower bound of affected releases is therefore not conclusively confirmed, although the debug cookie feature and this write path are documented against the 9.x line. The vendor notes a secondary failure mode: an intentionally or accidentally malformed value can corrupt the generated file and break the whole shop, independently of any code-execution goal.
Know when Prestashop gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
PR:L because only the Performance permission is needed; UI:N as injected code auto-runs on every request; S:C and C/I/A:H reflect full code execution beyond the config component.
Primary rating from Vendor (certcc).
CVSS VectorVendor: certcc
Lifecycle Timeline
4DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Prestashop
View allPrestaShop dpdfrance <6.1.3 is vulnerable to SQL Injection via dpdfrance/ajax.php. Rated critical severity (CVSS 9.8), t
An SQL injection vulnerability in the Payplug (payplug) module for PrestaShop, in versions 3.6.0, 3.6.1, 3.6.2, 3.6.3, 3
Prestashop possearchproducts 1.7 is vulnerable to SQL Injection via PosSearch::find(). Rated critical severity (CVSS 9.8
Prestashop posstaticfooter <= 1.0.0 is vulnerable to SQL Injection via posstaticfooter::getPosCurrentHook(). Rated criti
The eo_tags package before 1.3.0 for PrestaShop allows SQL injection via an HTTP User-Agent or Referer header. Rated cri
PrestaShop is an Open Source e-commerce platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp
The store system in PrestaShop 1.7.7.0 allows time-based boolean SQL injection via the module=productcomments controller
PrestaShop from version 1.7.5.0 and before version 1.7.6.8 is vulnerable to a blind SQL Injection attack in the Catalog
reset/modules/advanced_form_maker_edit/multiupload/upload.php in the RESET.PRO Adobe Stock API integration 4.8 for Prest
reset/modules/fotoliaFoto/multi_upload.php in the RESET.PRO Adobe Stock API Integration for PrestaShop 1.6 and 1.7 allow
modules/orderfiles/ajax/upload.php in the Customer Files Upload addon 2018-08-01 for PrestaShop (1.5 through 1.7) allows
PrestaShop 1.6.x before 1.6.1.23 and 1.7.x before 1.7.4.4 allows remote attackers to execute arbitrary code via a file u
EUVD-2026-120080
GHSA-3qxg-mfwq-q6pp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB