CVE-2016-2040
Description
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.
Severity
MEDIUM
CVSS v3
5.4
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N · source nvd
Exploit chance (EPSS)
1.635%
chance of exploitation in the next 30 days
higher than 76.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
Timeline
- 2016-02-20Published by the CNA01:00 UTC
- 2022-05-14GitHub advisory published (GHSA-pw34-qf6c-84fc)2275 days after publication
Exploit and advisory records
GitHub advisory GHSA-pw34-qf6c-84fc, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist phpmyadmin/phpmyadmin | from 4.0 before 4.0.10.13 | 4.0.10.13 |
| Packagist phpmyadmin/phpmyadmin | from 4.4 before 4.4.15.3 | 4.4.15.3 |
| Packagist phpmyadmin/phpmyadmin | from 4.5 before 4.5.4 | 4.5.4 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| phpmyadmin phpmyadmin | 4.0.0no fix listed4.0.1no fix listed4.0.10no fix listed4.0.10.1no fix listed4.0.10.10no fix listed(+38 more) | not listednot listednot listednot listednot listed |
| fedoraproject fedora | 22no fix listed23no fix listed | not listednot listed |
| opensuse leap | 42.1no fix listed | not listed |
| opensuse opensuse | 13.1no fix listed13.2no fix listed | not listednot listed |
References
- http://www.phpmyadmin.net/home_page/security/PMASA-2016-3.php
- https://github.com/phpmyadmin/phpmyadmin/commit/75a55824012406a08c4debf5ddb7ae41c32a7dbc
- https://github.com/phpmyadmin/phpmyadmin/commit/aca42efa01917cc0fe8cfdb2927a6399ca1742f2
- https://github.com/phpmyadmin/phpmyadmin/commit/edffb52884b09562490081c3b8666ef46c296418
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176483.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176739.html
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00028.html
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00049.html
- http://www.debian.org/security/2016/dsa-3627
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2016-2040'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2016-2040'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2016-2040'curl 'https://api.contrastcyber.com/cve_products/CVE-2016-2040'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).