CVE-2026-56704: Adminer before 5.4.3 Cross-Site Scripting via MySQL Version String

Published Aug 25, 2026
·
Updated

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 Software

1 affected component
Adminer Adminer<5.4.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Adminer to a version that resolves this vulnerability.

    Fixed in 5.4.3

Event History

Aug 25, 2026
CVE Published
via MITRE·01:30 AM
Data Sourced
via MITRE·01:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to exploitation?

Adminer deployments before 5.4.3 are exposed when they connect to a rogue or attacker-controlled MySQL server. The attacker does not need Adminer credentials according to the supplied vector, but a user must interact with the affected Adminer page.

2

What must an attacker control to exploit this issue?

The attacker must control a MySQL server that Adminer connects to and make it return a crafted server version string. That string can escape the JavaScript context and execute code despite CSP nonces.

3

Does Content Security Policy prevent exploitation?

No. The issue specifically involves unsanitized content being inserted into script tags carrying valid CSP nonces, allowing the crafted version string to bypass the intended CSP protection.

4

What version resolves the issue?

Upgrade Adminer to version 5.4.3 or later. Versions before 5.4.3 are affected.

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