Vulnerability DatabaseGHSA-q3g4-2vw9-xv27

GHSA-q3g4-2vw9-xv27
PHP vulnerability analysis and mitigation

Overview

A critical Remote Code Execution (RCE) vulnerability was discovered in Shopware, identified as GHSA-q3g4-2vw9-xv27. The vulnerability affects all Shopware versions up to and including version 5.2.14, allowing unauthorized execution of foreign code that could potentially compromise the entire system. The issue was discovered and initially disclosed on January 19, 2017 (GitHub Advisory).

Technical details

The vulnerability has been assigned a Critical severity rating with a CVSS score of 9.8. The attack vector is Network-based with low attack complexity, requiring no privileges or user interaction. The vulnerability is classified under CWE-74 and primarily affects the form input handling mechanism in Shopware (GitHub Advisory, Shopware Docs).

Impact

The vulnerability could allow attackers to execute unauthorized foreign code, potentially affecting the entire system. The CVSS metrics indicate high impact on confidentiality, integrity, and availability of the system, with the scope remaining unchanged (GitHub Advisory).

Exploitability

The vulnerability is highly exploitable due to its network-based attack vector, low attack complexity, and no requirement for privileges or user interaction. The issue could be particularly severe if a template that doesn't derive from the Shopware standard has been completely copied (Shopware Docs).

Mitigation and workarounds

Shopware released version 5.2.15 and later 5.2.16 to address this vulnerability. For users unable to upgrade, a patch plugin (SwagSecurityHotFix201701) was provided as an alternative solution. Theme and plugin developers were advised to update their code, particularly in templates that execute or overwrite specific template code. The fix involves replacing the affected code in the emotion.tpl file and related templates (Shopware Docs).

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

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • 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