cvedb.io
CVE-2025-51541
MEDIUM · CVSS 6.1
EPSS exploitation probability: 0%
Published 2025-08-05T20:15:37.967 · Last modified 2026-06-17T09:35:41.437

Summary

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.

Affected products

shopware — shopware

Does this affect you?

Add your gear to cvedb and we'll alert you only when shopware ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.