CVE-2018-15605: phpMyAdmin Cross-site Scripting (XSS) in the import dialog
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73958%
CWE
Published
5/14/2022
Updated
4/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| phpmyadmin/phpmyadmin | composer | < 4.8.3 | 4.8.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper output sanitization in warning message handling during file imports. The commit diff shows the fix added Message::sanitize() to the $warning parameter in this function. Before the patch, the raw $warning input (from imported files) was passed to Message::notice() and rendered via getDisplay(), enabling HTML/script injection. This matches the described XSS vulnerability pattern where user-controlled input isn't properly neutralized before web page generation.