CVE-2016-2040: phpMyAdmin - Reflected XSS
- Cve: CVE-2016-2040
- Name: phpMyAdmin - Reflected XSS
- 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.
- Impact: Authenticated attackers can execute arbitrary scripts in victims' browsers, leading to session hijacking or defacement.
- Remediation: Update to version 4.0.10.13, 4.4.15.3, 4.5.4 or later versions.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs to be authenticated in phpMyAdmin
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01635
- Epss percentile: 0.7694
- Assignee: [email protected]
- Published at: 2016-02-20T01:59:03Z
- Age in days: 3930
- Modified at: 2026-06-17T00:43:18Z
- Patch available: yes
- References total: 9
- Products total: 4
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-2040
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| phpmyadmin:phpmyadmin | = 4.5.3, = 4.5.2, = 4.5.1, = 4.5.0.2, = 4.5.0.1, = 4.5.0, = 4.4.15.3, = 4.4.15.2, = 4.4.15.1, = 4.4.15, = 4.4.14.1, = 4.4.13.1, = 4.4.13, = 4.4.12, = 4.4.11, = 4.4.10, = 4.4.9, = 4.4.8, = 4.4.7, = 4.4.6.1, = 4.4.6, = 4.4.5, = 4.4.4, = 4.4.3, = 4.4.2, = 4.4.1.1, = 4.4.1, = 4.4.0, = 4.0.10.12, = 4.0.10.11, = 4.0.10.10, = 4.0.10.9, = 4.0.10.8, = 4.0.10.7, = 4.0.10.6, = 4.0.10.5, = 4.0.10.4, = 4.0.10.3, = 4.0.10.2, = 4.0.10.1, = 4.0.10, = 4.0.1, = 4.0.0, = 4.0.0 rc2, = 4.0.0 rc3 | /v1/products/phpmyadmin/phpmyadmin |
| fedoraproject:fedora | = 23, = 22 | /v1/products/fedoraproject/fedora |
| opensuse:leap | = 42.1 | /v1/products/opensuse/leap |
| opensuse:opensuse | = 13.2, = 13.1 | /v1/products/opensuse/opensuse |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| phpmyadmin/phpmyadmin | commit, fix | yes | /v1/repositories/phpmyadmin/phpmyadmin |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 331229
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports