CVE-2016-2040 json
phpMyAdmin XSS Vulnerability
published 2016-02-20 10 y ago modified 2026-06-17 4 mo ago also GHSA-pw34-qf6c-84fc , EUVD-2022-4833
- cvss
- 5.4
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist phpmyadmin/phpmyadmin 4.0.10.13, 4.4.15.3, 4.5.4
- phpmyadmin Debian 14, Debian 13, Debian 12 4:4.5.4-1
debian advisories DEBIAN-CVE-2016-2040
- phpMyAdmin openSUSE Tumbleweed 4.6.5.2-1.1
opensuse advisories openSUSE-SU-2024:10054-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-2040 updated cvss 4.3
phpMyAdmin: Multiple XSS vulnerabilities (PMASA-2016-3)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.64% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.0 | 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | phpmyadmin/phpmyadmin | >=4.0, <4.0.10.13 >=4.4, <4.4.15.3 >=4.5, <4.5.4 |
4.0.10.13 4.4.15.3 4.5.4 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/phpmyadmin/phpmyadmin/commit/75a55824012406a08c4debf5ddb7ae41c32a7dbc
web, patch
-
github.com
/phpmyadmin/phpmyadmin/commit/aca42efa01917cc0fe8cfdb2927a6399ca1742f2
web, patch
-
github.com
/phpmyadmin/phpmyadmin/commit/edffb52884b09562490081c3b8666ef46c296418
web, patch
-
phpmyadmin.net
/home_page/security/PMASA-2016-3.php
web, patch, vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2016-02/msg00049.html
vendor-advisory, web, third-party-advisory
-
debian.org
/security/2016/dsa-3627
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2016-02/msg00028.html
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-February/176739.html
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-February/176483.html
vendor-advisory, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2016-2040
advisory
Sources
- CVE List CVE-2016-2040
- GitHub Advisory GHSA-pw34-qf6c-84fc
- NVD CVE-2016-2040
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.