CVE-2025-27892
PHP vulnerability analysis and mitigation

Overview

A SQL injection vulnerability (CVE-2025-27892) affects Shopware versions prior to 6.5.8.13 in the /api/search/order endpoint. This vulnerability exists as a regression of previous vulnerabilities CVE-2024-22406 and CVE-2024-42357 (NVD, GHSA).

Technical details

The vulnerability resides in the aggregations field used in search-related endpoints. While the Shopware Security Plugin 6 version 2.0.10 attempts to patch the vulnerability, it fails to sanitize nested aggregation objects effectively. Attackers can inject special characters such as ? or : into the name field of nested aggregation objects, exploiting reserved syntax used for prepared statements. The CVSS v3.1 base score is 6.8 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:L (RedTeam Pentesting, GHSA).

Impact

The severity of the vulnerability varies depending on API exposure and user privileges. For backend users with low privileges, the vulnerability poses a medium risk as attackers can escalate their access. If search-related endpoints of the Store API are publicly exposed, the risk escalates to high due to the potential for direct database compromise (GBHackers, RedTeam Pentesting).

Mitigation and workarounds

The vulnerability has been fixed in Shopware version 6.5.8.13. For older versions, users should update to Shopware Security Plugin 6 version 2.0.11. The vendor recommends updating to the latest Shopware version for full protection (GHSA, RedTeam Pentesting).

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-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

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