CVE-2025-51541
Last modified
CVE-2025-51541 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Shopware | Shopware | >= 6.1.0, < 6.2.3 |
References
- https://gist.github.com/anonx-hunter/a7ef32a01d7d888413b08bf8589fdd7e#file-cve-2025-51541-shopware-xss-mdExploit, Third Party Advisory
- https://gist.github.com/anonx-hunter/a7ef32a01d7d888413b08bf8589fdd7e#file-cve-2025-51541-shopware-xss-mdExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-51541?
How severe is CVE-2025-51541?
How do I fix CVE-2025-51541?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-51534A cross-site scripting (XSS) vulnerability in Austrian Archa…8.1
- CVE-2025-51535Austrian Archaeological Institute (AI) OpenAtlas v8.11.0 as …9.1
- CVE-2025-51536Austrian Archaeological Institute (AI) OpenAtlas v8.11.0 as …9.8
- CVE-2025-51539EzGED3 3.5.0 contains an unauthenticated arbitrary file read…5.3
- CVE-2025-5154A vulnerability, which was classified as problematic, was fo…4.4
- CVE-2025-51540EzGED3 3.5.0 stores user passwords using an insecure hashing…5.3
- CVE-2025-51543An issue was discovered in Cicool builder 3.4.4 allowing att…9.8
- CVE-2025-5155A vulnerability has been found in qianfox FoxCMS 1.2.5 and c…8.8
- CVE-2025-5156A vulnerability was found in H3C GR-5400AX up to 100R008 and…9.8
- CVE-2025-51567A SQL Injection was found in the /exam/user/profile.php page…9.1
- CVE-2025-51569A cross-site scripting (XSS) vulnerability exists in the LB-…6.1
- CVE-2025-5157A vulnerability was found in H3C SecCenter SMP-E1114P02 up t…7.5
Are you affected by CVE-2025-51541?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
