{"id":"CVE-2023-25727","aliases":["CVE-2023-25727","GHSA-6hr3-44gx-g6wh","BIT-PHPMYADMIN-2023-25727"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2023-02-13T00:00:00.000Z","modified":"2026-09-08T08:48:24.799Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.3.0","status":"affected","fixed":"4.9.11"}],"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","purl":"pkg:composer/phpmyadmin/phpmyadmin","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.0","status":"affected","fixed":"5.2.1"}],"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","purl":"pkg:composer/phpmyadmin/phpmyadmin","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.9.11"},{"status":"affected","introduced":"5.0.0","fixed":"5.2.1"}],"vendor":"phpmyadmin","product":"phpmyadmin","cpe":"cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.9.11"},{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.2.1"}],"ecosystem":"Bitnami","package":"phpmyadmin","purl":"pkg:bitnami/phpmyadmin","source":"bitnami"}],"references":[{"url":"https://www.phpmyadmin.net/security/PMASA-2023-1/","tags":["advisory","patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00016.html","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25727","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/53f70fd7f3b388639922e6cc1ca51fbe890c91cc","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/phpmyadmin/phpmyadmin/commit/efa2406695551667f726497750d3db91fb6f662e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/phpmyadmin/composer","tags":["package"],"sources":["ghsa"]},{"url":"https://www.phpmyadmin.net/security/PMASA-2023-1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-03-21T14:52:37.332Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-25727","url":"https://www.cve.org/CVERecord?id=CVE-2023-25727","licence":"CVE Terms of Use","modified":"2025-11-03T19:28:04.349Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6hr3-44gx-g6wh","url":"https://github.com/advisories/GHSA-6hr3-44gx-g6wh","licence":"CC-BY-4.0","modified":"2025-03-21T15:52:59.263Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-25727","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-25727","licence":"Public domain","modified":"2026-06-17T05:41:49.380Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PHPMYADMIN-2023-25727","url":"https://osv.dev/vulnerability/BIT-PHPMYADMIN-2023-25727","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.799Z"}],"updatedAt":"2026-11-25T22:58:21.933Z","epss":{"score":0.01195,"percentile":0.68934,"date":"2026-12-01T12:00:22.000Z"}}