CVE-2026-56704: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in vrana adminer
CVE-2026-56704 is a cross-site scripting (XSS) vulnerability in Adminer before version 5.4.3. The issue arises because Adminer inserts unsanitized database server version strings into script tags that use valid Content Security Policy (CSP) nonces without proper validation. This allows an attacker controlling a malicious MySQL server to craft version strings that break out of the JavaScript context and execute arbitrary code, effectively bypassing CSP protections.
AI Analysis
Technical Summary
Adminer versions prior to 5.4.3 improperly neutralize input when generating web pages by embedding unsanitized database server version strings into JavaScript contexts protected by CSP nonces. An attacker who controls a rogue MySQL server can exploit this by returning specially crafted version strings that escape the JavaScript context, enabling arbitrary code execution despite CSP enforcement. This vulnerability is classified as cross-site scripting (XSS) and has a CVSS 4.0 base score of 5.3, indicating medium severity.
Potential Impact
An attacker controlling a malicious MySQL server can exploit this vulnerability to execute arbitrary JavaScript code in the context of the Adminer web application. This bypasses Content Security Policy protections intended to prevent such script injection. The impact includes potential compromise of user sessions, data theft, or other client-side attacks within the Adminer interface. However, exploitation requires control over the database server, limiting the attack surface.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Users should upgrade to Adminer version 5.4.3 or later once released, as the vulnerability affects versions before 5.4.3. Until a fix is available, avoid connecting Adminer to untrusted or potentially malicious MySQL servers. Monitor vendor advisories for updates regarding patches or official mitigations.
CVE-2026-56704: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in vrana adminer
Description
CVE-2026-56704 is a cross-site scripting (XSS) vulnerability in Adminer before version 5.4.3. The issue arises because Adminer inserts unsanitized database server version strings into script tags that use valid Content Security Policy (CSP) nonces without proper validation. This allows an attacker controlling a malicious MySQL server to craft version strings that break out of the JavaScript context and execute arbitrary code, effectively bypassing CSP protections.
CVSS v4.0
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Adminer versions prior to 5.4.3 improperly neutralize input when generating web pages by embedding unsanitized database server version strings into JavaScript contexts protected by CSP nonces. An attacker who controls a rogue MySQL server can exploit this by returning specially crafted version strings that escape the JavaScript context, enabling arbitrary code execution despite CSP enforcement. This vulnerability is classified as cross-site scripting (XSS) and has a CVSS 4.0 base score of 5.3, indicating medium severity.
Potential Impact
An attacker controlling a malicious MySQL server can exploit this vulnerability to execute arbitrary JavaScript code in the context of the Adminer web application. This bypasses Content Security Policy protections intended to prevent such script injection. The impact includes potential compromise of user sessions, data theft, or other client-side attacks within the Adminer interface. However, exploitation requires control over the database server, limiting the attack surface.
Mitigation Recommendations
No official patch or remediation guidance is currently available. Users should upgrade to Adminer version 5.4.3 or later once released, as the vulnerability affects versions before 5.4.3. Until a fix is available, avoid connecting Adminer to untrusted or potentially malicious MySQL servers. Monitor vendor advisories for updates regarding patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-22T18:48:27.059Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8cf57aacd9273b49842869
Added to database: 08/25/2026, 01:52:58 UTC
Last enriched: 08/25/2026, 02:09:48 UTC
Last updated: 08/25/2026, 03:04:25 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.