{"id":"CVE-2023-25727","aliases":["BIT-phpmyadmin-2023-25727","GHSA-6hr3-44gx-g6wh"],"url":"https://o3.security/vulnerability/CVE-2023-25727","summary":"Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin","details":"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.","published":"2023-02-13T00:00:00Z","modified":"2026-08-12T03:51:34.937670444Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.01163,"percentile":0.65051,"asOf":"2026-09-01"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"phpmyadmin/phpmyadmin","fixedVersion":"4.9.11"},{"ecosystem":"Packagist","name":"phpmyadmin/phpmyadmin","fixedVersion":"5.2.1"}],"fix":{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/53f70fd7f3b388639922e6cc1ca51fbe890c91cc","label":"phpmyadmin/phpmyadmin@53f70fd"},"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00016.html"},{"type":"WEB","url":"https://www.phpmyadmin.net/security/PMASA-2023-1/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/25xxx/CVE-2023-25727.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25727"},{"type":"WEB","url":"https://github.com/phpmyadmin/phpmyadmin/commit/53f70fd7f3b388639922e6cc1ca51fbe890c91cc"},{"type":"WEB","url":"https://github.com/phpmyadmin/phpmyadmin/commit/efa2406695551667f726497750d3db91fb6f662e"},{"type":"PACKAGE","url":"https://github.com/phpmyadmin/composer"},{"type":"WEB","url":"https://www.phpmyadmin.net/security/PMASA-2023-1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:34.937670444Z"}}