Skip to main content

Adminer EUVDEUVD-2026-65202

| CVE-2026-56704 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-25 VulnCheck GHSA-gx46-wch5-wp5p
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Stand up rogue MySQL server returning crafted version banner
  2. Delivery
    Lure Adminer user to connect to attacker server
  3. Exploit
    Adminer inserts unsanitized banner into nonce-tagged script block
  4. Execution
    Injected JS inherits valid CSP nonce
  5. Persist
    Browser executes arbitrary JavaScript
  6. Impact
    Exfiltrate session tokens or database credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must control or compromise a MySQL server that the victim will connect to via Adminer. The victim must actively initiate a connection from their Adminer instance (running in a browser) to that attacker-controlled server - this is the UI:P condition captured in the CVSS 4.0 vector. No authentication on the attacker's side is required (PR:N); the malicious payload is delivered entirely through the MySQL server version string returned during the connection handshake. Exploitation is limited to Adminer versions prior to 5.4.3. The browser must render the Adminer PHP response (i.e., the connection attempt must reach the server-rendered output stage). There is no requirement for a specific operating system, database type beyond MySQL-compatible servers, or non-default Adminer configuration - the vulnerable code path is exercised on every MySQL connection attempt.

Impact

The CVSS 4.0 score of 5.3 (Medium) reflects the required user interaction (UI:P) - the victim must actively connect Adminer to an attacker-controlled MySQL server - which substantially limits opportunistic mass exploitation. No EPSS data was provided, and the vulnerability has no CISA KEV entry and no confirmed public exploit code, all of which reduce urgency compared to a network-exploitable, no-interaction flaw. However, the CSP bypass dimension elevates practical impact beyond what the numeric score alone conveys: CSP is a last-resort browser control, and defeating it means any downstream mitigations relying on CSP are also neutralized. SSVC considerations: exploitation is not confirmed automated or widespread; technical impact is partial (limited confidentiality and integrity per CVSS 4.0 VC:L/VI:L). The realistic attack surface is developers and DBAs who use Adminer to connect to external, cloud, or shared MySQL instances - environments where the rogue-server precondition is plausible rather than contrived. The CVSS AV:N and AC:L metrics are consistent with the description: once a user initiates a connection to the attacker's server, no further complexity barriers exist on the attacker's side.

Exploit ScenarioDerived

An attacker operates a rogue MySQL server configured to return a crafted version banner string containing JavaScript payload wrapped in script-breaking syntax. A developer or DBA visits Adminer in their browser and enters the attacker's server address as the connection target - perhaps via a phishing link, a compromised infrastructure recommendation, or a shared staging environment. Adminer retrieves the banner, inserts it unsanitized into a nonce-bearing script tag, and the victim's browser executes the injected JavaScript with the trust level of the Adminer origin, potentially exposing database credentials, session tokens, or enabling further pivoting.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 25, 2026

Cross-site scripting with CSP bypass in Adminer before 5.4.3 enables arbitrary JavaScript execution in the browser of any user who connects to an attacker-controlled MySQL server. The vulnerability stems from unsanitized MySQL server version strings being injected directly into script tags that carry valid Content Security Policy nonces, effectively nullifying CSP protections. No public exploit code or CISA KEV entry has been identified at time of analysis, but the attack is meaningful against administrators and developers who routinely connect Adminer instances to external or third-party MySQL servers.

RemediationAI

Upgrade to Adminer 5.4.3 or later, which introduces proper sanitization of the MySQL server version string before it is inserted into script contexts. The vendor advisory at https://github.com/vrana/adminer/security/advisories/GHSA-h6jr-7pr6-grgj should be consulted for patch details and any additional guidance. As a compensating control where immediate upgrade is not feasible, restrict Adminer's network access so it can only connect to known-trusted MySQL servers - for example by enforcing firewall rules or application-level allowlists on outbound TCP 3306 connections. This limits the rogue-server precondition but does not eliminate risk if any trusted server is itself compromised. Alternatively, disabling Adminer access from public-facing environments and restricting it to authenticated VPN or internal-only access reduces the browser-victim attack surface, since the exploit requires a logged-in user's browser session. There is no known configuration-only workaround that prevents the vulnerable code path without restricting connectivity.

Affected VersionsENISA

adminer 0 <5.4.3

Affected Packages

euvd adminer fix: 5.4.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Adminer (CPE: cpe:2.3:a:vrana:adminer:*:*:*:*:*:*:*:*) is a single-file PHP database management application that renders a web interface for interacting with database servers including MySQL. When Adminer connects to a MySQL server, it retrieves the server's version banner string. The vulnerable code path inserts this externally-supplied string into an inline script tag that is decorated with a dynamically generated CSP nonce - a mechanism normally used to whitelist specific inline scripts under a Content-Security-Policy header. Because the version string is not sanitized or escaped before insertion, a rogue MySQL server returning a crafted banner can inject closing script tags and arbitrary JavaScript that inherits the valid nonce and therefore passes CSP enforcement. This is a reflected/stored XSS (CWE-79) that is particularly severe because it defeats the primary browser-side defense (CSP nonce) intended to prevent exactly this class of attack.

Know when Adminer gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

Network-delivered XSS requires victim to initiate connection to rogue server (UI:R); nonce inheritance causes scope change affecting victim browser (S:C); no confidentiality or integrity impact on availability.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 25, 2026 - 03:16 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular single-file PHP database management tool among developers
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy