Skip to main content

PrestaShop CVE-2026-124916

| EUVDEUVD-2026-120080 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-09 certcc GHSA-3qxg-mfwq-q6pp
5.4
CVSS 3.1 · Vendor: certcc
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to back-office with Performance permission
  2. Delivery
    Submit crafted debug_cookie_name/value with PHP payload
  3. Exploit
    Payload written unescaped into generated PHP config file
  4. Execution
    Injected code executes as web-server user on every request
  5. Impact
    Server-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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PrestaShop 1.5.0.0 <9.2.1

Affected Packages

euvd prestashop fix: 9.2.1

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

Vendor (certcc) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 9.9 CRITICAL

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (certcc).

CVSS VectorVendor: certcc

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

4
CVSS changed
Nov 09, 2026 - 16:22 NVD
5.4 (None) 5.4 (MEDIUM)
Patch available
Nov 09, 2026 - 16:18 EUVD
CVE Published
Nov 09, 2026 - 14:53 cve.org
UNKNOWN (no severity yet)
CVE Published
Nov 09, 2026 - 14:53 cve.org
MEDIUM 5.4

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

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
widely deployed open-source e-commerce platform powering many online stores
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2023-25207 CRITICAL POC
9.8 Mar 13

PrestaShop dpdfrance <6.1.3 is vulnerable to SQL Injection via dpdfrance/ajax.php. Rated critical severity (CVSS 9.8), t

CVE-2023-30153 CRITICAL POC
9.8 Jul 18

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

CVE-2023-30192 CRITICAL POC
9.8 May 12

Prestashop possearchproducts 1.7 is vulnerable to SQL Injection via PosSearch::find(). Rated critical severity (CVSS 9.8

CVE-2023-30194 CRITICAL POC
9.8 May 10

Prestashop posstaticfooter <= 1.0.0 is vulnerable to SQL Injection via posstaticfooter::getPosCurrentHook(). Rated criti

CVE-2023-27569 CRITICAL POC
9.8 Mar 21

The eo_tags package before 1.3.0 for PrestaShop allows SQL injection via an HTTP User-Agent or Referer header. Rated cri

CVE-2022-31181 CRITICAL POC
9.8 Aug 01

PrestaShop is an Open Source e-commerce platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp

CVE-2021-3110 CRITICAL POC
9.8 Jan 20

The store system in PrestaShop 1.7.7.0 allows time-based boolean SQL injection via the module=productcomments controller

CVE-2020-15160 CRITICAL POC
9.8 Sep 24

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

CVE-2019-19595 CRITICAL POC
9.8 Dec 05

reset/modules/advanced_form_maker_edit/multiupload/upload.php in the RESET.PRO Adobe Stock API integration 4.8 for Prest

CVE-2019-19594 CRITICAL POC
9.8 Dec 05

reset/modules/fotoliaFoto/multi_upload.php in the RESET.PRO Adobe Stock API Integration for PrestaShop 1.6 and 1.7 allow

CVE-2018-19355 CRITICAL POC
9.8 Nov 19

modules/orderfiles/ajax/upload.php in the Customer Files Upload addon 2018-08-01 for PrestaShop (1.5 through 1.7) allows

CVE-2018-19126 CRITICAL POC
9.8 Nov 09

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy