CVE-2016-2040: phpMyAdmin XSS Vulnerability
5.4
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.7239%
CWE
Published
5/14/2022
Updated
9/13/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| phpmyadmin/phpmyadmin | composer | >= 4.0, < 4.0.10.13 | 4.0.10.13 |
| phpmyadmin/phpmyadmin | composer | >= 4.4, < 4.4.15.3 | 4.4.15.3 |
| phpmyadmin/phpmyadmin | composer | >= 4.5, < 4.5.4 | 4.5.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commits 75a5582, aca42ef, and edffb52 explicitly show fixes adding escaping to user-controlled inputs in these components. The vulnerability description lists table names, SET values, search queries, and hostnames as vectors - these correspond to the unescaped $each_table (DbSearch), $uri (header_location), and $type/$value (rows_zoom) variables respectively. The lack of context-aware output encoding (HTML + JS escaping) in these locations directly matches the XSS vulnerability patterns described.