Cross-site scripting via unvalidated server version
Published Aug 25, 2026 · Updated Aug 26, 2026
Cross-site scripting in Adminer before 5.4.3 allows remote attackers to execute JavaScript through a rogue MySQL server version string. In adminer.inc.php, a failed version-prefix regex returns the entire server_info value and inserts it unescaped into a nonce-bearing script call. Exploitation requires a victim browser to log in to an attacker-controlled reachable MySQL server, directly or through login CSRF, and the script runs in the Adminer origin despite CSP.
Summary
What happened
Cross-site scripting in Adminer before 5.4.3 allows remote attackers to execute JavaScript through a rogue MySQL server version string. In adminer.inc.php, a failed version-prefix regex returns the entire server_info value and inserts it unescaped into a nonce-bearing script call. Exploitation requires a victim browser to log in to an attacker-controlled reachable MySQL server, directly or through login CSRF, and the script runs in the Adminer origin despite CSP.
The record
- CVE
- CVE-2026-56704
- Published
- Aug 25, 2026
- Updated
- Aug 26, 2026
- Vendor
- Adminer
- Product
- Adminer
- Classifications
- CWE-79, CWE-352, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 25, 2026CVE publishedPublication date reported by the CVE source.
- Aug 26, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <5.4.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Rogue MySQL server and login-CSRF proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo