Shopware Vulnerable to Blind SQL-injection in DAL aggregationsGHSA-8g35-7rmw-7f59
HIGHGHSA-8g35-7rmw-7f59 is a high-severity (CVSS 7.3) SQL Injection vulnerability in shopware/core. EPSS puts its 30-day exploitation probability at 12.9% (96th percentile). A fix is available for shopware/core — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for GHSA-8g35-7rmw-7f59.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
shopware/core🐘shopware/platform🐘shopware/core🐘shopware/platform🐘shopware/core🐘shopware/platformReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Impact
The Shopware application API contains a search functionality which enables users to search through information stored within their Shopware instance. The searches performed by this function can be aggregated using the parameters in the “aggregations” object. The ‘name’ field in this “aggregations” in nested object is vulnerable SQL-injection and can be exploited using SQL parameters.
Patches
Update to Shopware 6.6.10.3
Workarounds
For older versions of 6.5 or 6.4 corresponding security measures are also available via a plugin. For the full range of functions, we recommend updating to the latest Shopware version.
Credit
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | shopware/core | ≥ 6.7.0.0-rc1&&< 6.7.0.0-rc2 | 6.7.0.0-rc2composer require shopware/core:^6.7.0.0-rc2 |
| 🐘Packagist | shopware/platform | ≥ 6.7.0.0-rc1&&< 6.7.0.0-rc2 | 6.7.0.0-rc2composer require shopware/platform:^6.7.0.0-rc2 |
| 🐘Packagist | shopware/core | ≥ 6.6.0.0&&< 6.6.10.3 | 6.6.10.3composer require shopware/core:^6.6.10.3 |
| 🐘Packagist | shopware/platform | ≥ 6.6.0.0&&< 6.6.10.3 | 6.6.10.3composer require shopware/platform:^6.6.10.3 |
| 🐘Packagist | shopware/core | all versions | 6.5.8.18composer require shopware/core:^6.5.8.18 |
| 🐘Packagist | shopware/platform | all versions | 6.5.8.18composer require shopware/platform:^6.5.8.18 |
Affected Products
shopwareshopwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for shopware/core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update shopware/core to 6.7.0.0-rc2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-8g35-7rmw-7f59 is resolved across your whole dependency graph.
Workarounds
Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.
How to detect GHSA-8g35-7rmw-7f59
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-8g35-7rmw-7f59 -u https://target- Template
- Shopware < 6.5.8.13 - SQL Injection
- Severity
- critical
- Impact
- Authenticated attackers can execute arbitrary SQL queries through the aggregations parameter in the search API, potentially extracting sensitive data from the Shopware database.
- Remediation
- Upgrade to Shopware version 6.5.8.13 or later that properly sanitizes the aggregations parameter.
Template by ProjectDiscovery nuclei-templates (iamnoooob, rootxharsh, pdresearch), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-8g35-7rmw-7f59 in your dependencies?
Find it across Packagist, including transitive dependencies.