5.4medium
Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin
- Severity
- 5.4medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.20% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-6hr3-44gx-g6whBIT-PHPMYADMIN-2023-25727
Description
In phpMyAdmin before 4.9.11 and 5.x before 5.2.1, an authenticated user can trigger XSS by uploading a crafted .sql file through the drag-and-drop interface.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| phpmyadmin/phpmyadmin (Packagist) | from 4.3.0 before 4.9.11, from 5.0 before 5.2.1 | GitHub Advisory Database |
| phpmyadmin phpmyadmin | before 4.9.11, from 5.0.0 before 5.2.1 | NVD |
| phpmyadmin (Bitnami) | before 4.9.11, from 5.0.0 before 5.2.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In phpMyAdmin before 4.9.11 and 5.x before 5.2.1, an authenticated user can trigger XSS by uploading a crafted .sql file through the drag-and-drop interface.
GitHub Advisory Database
In phpMyAdmin before 4.9.11 and 5.x before 5.2.1, an authenticated user can trigger Cross-site Scripting (XSS) by uploading a crafted .sql file through the drag-and-drop interface. By disabling the configuration directive $cfg['enable_drag_drop_import'], users will be unable to use the drag and drop upload which would protect against the vulnerability.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-25727 changed 2025-11-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6hr3-44gx-g6wh changed 2025-03-21 | CC-BY-4.0 |
| NVD | CVE-2023-25727 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-PHPMYADMIN-2023-25727 changed 2026-09-08 | Apache-2.0 |