CVE-2016-2040
phpMyAdmin XSS Vulnerability
Reported by mitre · Published February 20, 2016
phpmyadmin/phpmyadmin is fixed in 4.5.3, 4.5.0.2, 4.4.15.3 and 5 more (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| phpmyadmin/phpmyadmin | Packagist | 4.5.3, 4.5.0.2, 4.4.15.3, 4.4.14.1, 4.4.6.1, 4.4.1.1, 4.0.10.12, 4.0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| phpmyadmin | phpmyadmin | 4.5.1, 4.0.0, 4.0.10 |
| n/a | n/a | * |
Timeline
- Feb 20, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jul 28, 2023 CVE Updated
- Mar 17, 2026 Security Advisory (4 in total, the first dated here)
- Oct 9, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-2040
vulnetix vdb fixes CVE-2016-2040
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-2040/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- openSUSE-SU-2016:0378 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- DSA-3627 vendor-advisoryx_refsource_DEBIAN
- openSUSE-SU-2016:0357 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- FEDORA-2016-e55278763e vendor-advisoryx_refsource_FEDORA
- FEDORA-2016-e1fe01e96e vendor-advisoryx_refsource_FEDORA
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2016-2040 advisory