All vulnerabilities

Packagist

CVE-2026-96632

AdminNeo Vulnerable to XSS via Rogue MySQL Server Version String (CSP Nonce Bypass)

Severity
High
Published
30 Oct 2026
Last changed
30 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
5.5.1
Weakness
Cross-site scripting (CWE-79)
Also known as
GHSA-rx7m-wxwq-vxr9
Sources
OSV.dev and GitHub

Description

AdminNeo inserts the database server's version string into a tag that carries a valid CSP nonce, without any sanitization. A rogue database server can return a crafted version string that breaks out of the JavaScript context and executes arbitrary code. Because the script tag already has a valid nonce, the browser's Content Security Policy does not block execution. No authentication is required when combined with Login CSRF.

Originally reported in Adminer: https://github.com/vrana/adminer/security/advisories/GHSA-h6jr-7pr6-grgj

  • Target runs AdminNeo
  • Attacker controls a reachable MySQL server (a 80-line Python script)

admin/core/Admin.php, lines 1285-1286:

script() wraps the output in . Return value of Connection::get()->getVersion()` is not escaped.

Open a browser and navigate to http://localhost:8081/adminneo.php:

  • Select driver: MySQL
  • Server: HOST_IP:3307 (IP of the machine running rogue_mysql.py)
  • Username: root
  • Password: x
  • Click Login.
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
adminneo-org/adminneoPackagist · osv:Packagist:adminneo-org/adminneo
  • Every version before 5.5.1

About adminneo-org/adminneo

Monthly downloads (Packagist)
23Packagist, 24 Nov 2026
Total downloads (Packagist)
312Packagist, 24 Nov 2026

References