{"id":"CVE-2025-51541","aliases":["CVE-2025-51541"],"related":[],"kind":"vulnerability","state":"published","title":"A stored cross-site scripting (XSS) vulnerability exists in the Shopware 6 installation interface at /recovery/install/database-configurati…","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de cross-site scripting (XSS) almacenado en la interfaz de instalación de Shopware 6, ubicada en /recovery/install/database-configuration/. El campo c_database_schema no depura correctamente la información proporcionada por el usuario antes de mostrarla en el navegador, lo que permite a un atacante inyectar JavaScript malicioso. Esta vulnerabilidad puede explotarse mediante un ataque de Cross-Site Request Forgery (CSRF) debido a la ausencia de protección CSRF en la solicitud POST. Un atacante remoto no autenticado puede manipular una página web maliciosa que, al ser visitada por una víctima, almacena el payload de forma persistente en la configuración de la instalación. Como resultado, el payload se ejecuta cada vez que un usuario accede posteriormente a la página de instalación vulnerable, lo que provoca la ejecución persistente de código del lado del cliente.","source":"nvd"}],"published":"2025-08-05T00:00:00.000Z","modified":"2026-06-17T09:35:41.437Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.0","fixed":"6.2.3"}],"vendor":"shopware","product":"shopware","cpe":"cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.dax-tokaido.com/recovery/install/database-configuration/","tags":["not-applicable"],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/anonx-hunter/a7ef32a01d7d888413b08bf8589fdd7e#file-cve-2025-51541-shopware-xss-md","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-08-07T14:03:08.812Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-51541","url":"https://www.cve.org/CVERecord?id=CVE-2025-51541","licence":"CVE Terms of Use","modified":"2025-08-07T14:03:50.991Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-51541","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51541","licence":"Public domain","modified":"2026-06-17T09:35:41.437Z"}],"updatedAt":"2026-11-25T22:59:02.068Z","epss":{"score":0.00441,"percentile":0.40085,"date":"2026-12-01T12:00:22.000Z"}}