KeygraphLabs · CVE MCP

CVE-2016-2040 · mitre

CVE-2016-2040

Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.0.x before 4.0.10.13, 4.4.x before 4.4.15.3, and 4.5.x before 4.5.4 allow remote authenticated users to inject arbitrary web script or HTML via a (1) table name, (2) SET value, (3) search query, or (4) hostname in a Location header.

Published 2016-02-20, last changed 2026-06-17. Weakness: CWE-79.

CVSS
5.4
medium, from NVD
EPSS
1.64%
percentile 77.2%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: phpmyadmin/phpmyadmin 4.0.10.13, 4.4.15.3, 4.5.4 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in phpmyadmin/phpmyadmin by 75a5582401, aca42efa01, edffb52884. Functions changed by the fix: _getResultsRow. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2016-02-20Published
2022-05-14Package advisory GHSA-pw34-qf6c-84fc
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.64%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-pw34-qf6c-84fcphpmyadmin/phpmyadmin (Packagist)4.0.10.13
GHSA-pw34-qf6c-84fcphpmyadmin/phpmyadmin (Packagist)4.4.15.3
GHSA-pw34-qf6c-84fcphpmyadmin/phpmyadmin (Packagist)4.5.4

Also known as: GHSA-pw34-qf6c-84fc

Related

CVEPublishedCVSSSummary
CVE-2025-245302025-01-236.4same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2023-257272023-02-135.4same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2020-224522023-01-269.8same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2022-08132022-03-107.5PhpMyAdmin exposure of sensitive information
CVE-2022-238082022-01-226.1same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2022-238072022-01-224.3same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2020-269352020-10-109.8same package: phpmyadmin/phpmyadmin (Packagist)
CVE-2020-269342020-10-106.1same package: phpmyadmin/phpmyadmin (Packagist)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-2040, or call /api/v1/vulnerabilities/CVE-2016-2040. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org