5.3medium
Adminer before 5.4.3 Cross-Site Scripting via MySQL Version String
- Severity
- 5.3medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
Adminer before 5.4.3 inserts unsanitized database server version strings into script tags with valid CSP nonces without proper validation. Attackers controlling a rogue MySQL server can return crafted version strings that break out of the JavaScript context and execute arbitrary code, bypassing Content Security Policy protections.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vrana adminer | before 5.4.3 Not affected: 5.4.3 | CVE List |
All scores
| VulnCheck | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
| VulnCheck | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Adminer before 5.4.3 inserts unsanitized database server version strings into script tags with valid CSP nonces without proper validation. Attackers controlling a rogue MySQL server can return crafted version strings that break out of the JavaScript context and execute arbitrary code, bypassing Content Security Policy protections.
NVD (es)
Adminer anterior a la versión 5.4.3 inserta cadenas de versión del servidor de base de datos sin sanear en etiquetas de script con nonces CSP válidos sin la validación adecuada. Atacantes que controlan un servidor MySQL malicioso pueden devolver cadenas de versión manipuladas que escapan del contexto de JavaScript y ejecutan código arbitrario, eludiendo las protecciones de la Política de Seguridad de Contenido.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56704 changed 2026-08-26 | CVE Terms of Use |
| NVD | CVE-2026-56704 changed 2026-10-12 | Public domain |