# CVE-2025-51541: A stored cross-site scripting (XSS) vulnerability exists in the Shopware 6 installation interface at /recovery/install/database-configurati…

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-05T00:00:00.000Z
- Modified: 2026-06-17T09:35:41.437Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- shopware shopware: from 6.1.0 before 6.2.3

## References

- <https://gist.github.com/anonx-hunter/a7ef32a01d7d888413b08bf8589fdd7e#file-cve-2025-51541-shopware-xss-md> (exploit, third-party-advisory)
- <https://www.dax-tokaido.com/recovery/install/database-configuration/> (not-applicable)

## Sources

- CVE List: [CVE-2025-51541](https://www.cve.org/CVERecord?id=CVE-2025-51541), CVE Terms of Use, modified 2025-08-07
- NVD: [CVE-2025-51541](https://nvd.nist.gov/vuln/detail/CVE-2025-51541), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-51541 · Whole record: https://cve.day/CVE-2025-51541.json · Rebuilt by cve.day 2026-11-25T22:59:02.068Z
