Home / Fedoraproject / Fedora / CVE-2016-2040
CVE-2016-2040: is it exploited, and which versions of Fedoraproject Fedora are affected and fixed?
CVE-2016-2040 is a cross-site scripting (XSS) vulnerability in Fedoraproject Fedora. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: phpmyadmin/phpmyadmin from 4.0 before 4.0.10.13, phpmyadmin/phpmyadmin from 4.4 before 4.4.15.3 and phpmyadmin/phpmyadmin from 4.5 before 4.5.4 (GitHub advisory GHSA-pw34-qf6c-84fc). Fixed in 4.0.10.13, 4.4.15.3 and 4.5.4 (GitHub advisory GHSA-pw34-qf6c-84fc). Severity: Medium (5.4, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is 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.
From the CVE record by mitre, last updated August 5, 2024, 23:17 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | >= 4.0, < 4.0.10.13 | 4.0.10.13 | GHSA-pw34-qf6c-84fc |
| Packagist | phpmyadmin/phpmyadmin | >= 4.4, < 4.4.15.3 | 4.4.15.3 | GHSA-pw34-qf6c-84fc |
| Packagist | phpmyadmin/phpmyadmin | >= 4.5, < 4.5.4 | 4.5.4 | GHSA-pw34-qf6c-84fc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 28, 2023. Summary: phpMyAdmin XSS Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| fedoraproject | fedora | 22 | operating system |
| fedoraproject | fedora | 23 | operating system |
| opensuse | leap | 42.1 | operating system |
| opensuse | opensuse | 13.1 | operating system |
| opensuse | opensuse | 13.2 | operating system |
| phpmyadmin | phpmyadmin | 4.0.0 | application |
| phpmyadmin | phpmyadmin | 4.0.1 | application |
| phpmyadmin | phpmyadmin | 4.0.10 | application |
| phpmyadmin | phpmyadmin | 4.0.10.1 | application |
| phpmyadmin | phpmyadmin | 4.0.10.2 | application |
| phpmyadmin | phpmyadmin | 4.0.10.3 | application |
| phpmyadmin | phpmyadmin | 4.0.10.4 | application |
| phpmyadmin | phpmyadmin | 4.0.10.5 | application |
| phpmyadmin | phpmyadmin | 4.0.10.6 | application |
| phpmyadmin | phpmyadmin | 4.0.10.7 | application |
| phpmyadmin | phpmyadmin | 4.0.10.8 | application |
| phpmyadmin | phpmyadmin | 4.0.10.9 | application |
| phpmyadmin | phpmyadmin | 4.0.10.10 | application |
| phpmyadmin | phpmyadmin | 4.0.10.11 | application |
| phpmyadmin | phpmyadmin | 4.0.10.12 | application |
| phpmyadmin | phpmyadmin | 4.4.0 | application |
| phpmyadmin | phpmyadmin | 4.4.1 | application |
| phpmyadmin | phpmyadmin | 4.4.1.1 | application |
| phpmyadmin | phpmyadmin | 4.4.2 | application |
| phpmyadmin | phpmyadmin | 4.4.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:43 UTC.
How severe is CVE-2016-2040?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-2040 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.64% probability of exploitation activity in the next 30 days, percentile 77.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- openSUSE-SU-2016:0378 vendor-advisory, x_refsource_SUSE
- https://github.com/phpmyadmin/phpmyadmin/commit/75a55824012406a08c4debf5ddb7ae41c32a7dbc x_refsource_CONFIRM
- https://github.com/phpmyadmin/phpmyadmin/commit/aca42efa01917cc0fe8cfdb2927a6399ca1742f2 x_refsource_CONFIRM
- DSA-3627 vendor-advisory, x_refsource_DEBIAN
- openSUSE-SU-2016:0357 vendor-advisory, x_refsource_SUSE
- http://www.phpmyadmin.net/home_page/security/PMASA-2016-3.php x_refsource_CONFIRM
- FEDORA-2016-e55278763e vendor-advisory, x_refsource_FEDORA
- FEDORA-2016-e1fe01e96e vendor-advisory, x_refsource_FEDORA
- https://github.com/phpmyadmin/phpmyadmin/commit/edffb52884b09562490081c3b8666ef46c296418 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- January 22, 2016
- Published
- February 20, 2016, 01:00 UTC
- CVE record updated
- August 5, 2024, 23:17 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:43 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Fedora?
- Nov 19, 2021CVE-2021-44026 Roundcube Webmail: SQL injection exploited
- Jan 26, 2021CVE-2021-3156 Sudo Project Sudo: off-by-one Error exploited
- Jan 18, 2021CVE-2020-36193 Php Archive Tar: path traversal (reading or writing files outside the intended folder) exploited
- Dec 28, 2020CVE-2020-35730 Roundcube Webmail: cross-site scripting (XSS) exploited
- Nov 19, 2020CVE-2020-28949 Php Archive Tar: injection exploited
- Nov 6, 2020CVE-2020-16846 Saltstack Salt: OS command injection exploited
- Jun 9, 2020CVE-2020-13965 Roundcube Webmail: cross-site scripting (XSS) exploited
- Jan 29, 2020CVE-2020-7247 Openbsd Opensmtpd: OS command injection exploited
Questions about CVE-2016-2040
Is CVE-2016-2040 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 1.64% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Fedoraproject Fedora are affected by CVE-2016-2040?
phpmyadmin/phpmyadmin from 4.0 before 4.0.10.13, phpmyadmin/phpmyadmin from 4.4 before 4.4.15.3 and phpmyadmin/phpmyadmin from 4.5 before 4.5.4, per the GitHub advisory GHSA-pw34-qf6c-84fc. The tables above give every range the sources list.
Which version fixes CVE-2016-2040?
4.0.10.13, 4.4.15.3 and 4.5.4, per the GitHub advisory GHSA-pw34-qf6c-84fc. Check the vendor's advisory before you rely on it.
How severe is CVE-2016-2040?
Medium (5.4, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-2040?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.