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.
Published: 2026-08-25
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

Adminer versions prior to 5.4.3 insert the database server version string directly into a script element that includes a valid Content Security Policy nonce. Because the string is not validated or escaped, a crafted MySQL version response can close the string literal, inject arbitrary JavaScript, and be executed by the victim’s browser. This flaw represents a classic stored cross‑site scripting vulnerability (CWE‑79) that allows an attacker to run client‑side code and potentially hijack user sessions or steal sensitive data. The problem is confined to the code path that renders the MySQL version information.

Affected Systems

The vulnerability affects the Adminer web‑based database management tool distributed by Vrana. All releases before version 5.4.3 are impacted. Administrators using these earlier versions should verify which database engines are connected and note that the flaw is limited to the feature that outputs the MySQL version string.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and no EPSS score is available, so the exact likelihood of exploitation is uncertain. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker must control or impersonate a MySQL server that the vulnerable Adminer instance connects to. Because the exploited payload is delivered from the database server during normal operation, the attack can be launched remotely from a high‑level network perspective. This inferred attack vector means that any system exposing Adminer to an untrusted or shared database server may be susceptible, even without direct user interaction from the attacker.

Generated by OpenCVE AI on August 25, 2026 at 03:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Adminer to version 5.4.3 or newer.
  • If upgrading is not possible, disable the feature that embeds the MySQL version string or configure Adminer to sanitize the string before insertion.
  • Enforce a strict Content Security Policy that disallows inline scripts and requires the correct nonce handling to prevent script execution.

Generated by OpenCVE AI on August 25, 2026 at 03:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 06:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 25 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
First Time appeared Vrana
Vrana adminer
Vendors & Products Vrana
Vrana adminer

Tue, 25 Aug 2026 02:00:00 +0000

Type Values Removed Values Added
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.
Title Adminer before 5.4.3 Cross-Site Scripting via MySQL Version String
First Time appeared Adminer
Adminer adminer
Weaknesses CWE-79
CPEs cpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:*
Vendors & Products Adminer
Adminer adminer
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-26T16:12:57.028Z

Reserved: 2026-06-22T18:48:27.059Z

Link: CVE-2026-56704

cve-icon Vulnrichment

Updated: 2026-08-26T15:58:32.715Z

cve-icon NVD

Status : Deferred

Published: 2026-08-25T02:16:42.187

Modified: 2026-09-08T20:23:49.880

Link: CVE-2026-56704

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T04:00:09Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')