CVE-2025-51541: XSS

Published Aug 5, 2025
·
Updated

A stored cross-site scripting (XSS) vulnerability exists in the Shopware 6 installation interface at /recovery/install/database-configuration/. The cdatabaseschema 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.

Affected Software

2 affected components
Shopware Shopware 6
Shopware Shopware>=6.1.0<6.2.3

Event History

Aug 5, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-51541?

CVE-2025-51541 has a Medium severity level due to the potential for stored cross-site scripting (XSS) attacks affecting user data.

2

How do I fix CVE-2025-51541?

To fix CVE-2025-51541, ensure that user input in the c_database_schema field is properly sanitized before rendering to the browser.

3

What systems are affected by CVE-2025-51541?

CVE-2025-51541 affects the Shopware 6 installation interface during the database configuration phase.

4

What kind of attack does CVE-2025-51541 enable?

CVE-2025-51541 enables stored cross-site scripting (XSS) attacks, allowing attackers to inject malicious scripts into web pages.

5

How can I prevent CVE-2025-51541 in the future?

To prevent CVE-2025-51541, implement strict input validation and output encoding on all user-supplied data in your applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203