Medium severity · published Aug 5, 2025
CVE-2025-51541
A stored cross-site scripting (XSS) vulnerability exists in the Shopware 6 installation interface at /recovery/install/database-configuration/
6.1
CVSS
0.4%
EPSS
No
On KEV
Description
A stored cross-site scripting (XSS) vulnerability exists in the Shopware 6 installation interface at /recovery/install/database-configuration/. The c_database_schema field fails to properly sanitize user-supplied input before rendering it in the browser, allowing an attacker to inject malicious JavaScript. This vulnerability can be exploited via a Cross-Site Request Forgery (CSRF) attack due to the absence of CSRF protections on the POST request. An unauthenticated remote attacker can craft a malicious web page that, when visited by a victim, stores the payload persistently in the installation configuration. As a result, the payload executes whenever any user subsequently accesses the vulnerable installation page, leading to persistent client-side code execution.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SH
Shopware · Shopware
6.1.0 before 6.2.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-51541
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-51541
Exploit
https://gist.github.com/anonx-hunter/a7ef32a01d7d888413b08bf8589fdd7e#file-cve-2025-51541-shopware-xss-md
Not Applicable
https://www.dax-tokaido.com/recovery/install/database-configuration/
More from Shopware
9.8
CVE-2024-42357
Shopware is an open commerce platform
9.8
CVE-2024-42355
Shopware, an open ecommerce platform, has a new Twig Tag `sw_silent_feature_call` which silences deprecation messages while triggered in this tag
9.8
CVE-2024-22406
Shopware is an open headless commerce platform
9.8
CVE-2023-22732
Shopware is an open source commerce platform based on Symfony Framework and Vue js
9.8
CVE-2021-37708
Shopware is an open source eCommerce platform
