medium5.4
CVE-2023-25727
Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | phpmyadmin/phpmyadmin | >= 4.3.0, < 4.9.11 | 4.9.11 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Phpmyadmin | Phpmyadmin | before 4.9.11 from 5.0.0 before 5.2.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.phpmyadmin.net/security/PMASA-2023-1/
- https://lists.debian.org/debian-lts-announce/2025/04/msg00016.html
- https://github.com/advisories/GHSA-6hr3-44gx-g6wh
- https://nvd.nist.gov/vuln/detail/CVE-2023-25727
- https://github.com/phpmyadmin/phpmyadmin/commit/53f70fd7f3b388639922e6cc1ca51fbe890c91cc
- https://github.com/phpmyadmin/phpmyadmin/commit/efa2406695551667f726497750d3db91fb6f662e
- https://www.phpmyadmin.net/security/PMASA-2023-1