CVE-2023-25727
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
phpmyadmin/phpmyadmin (Packagist)from 4.3.0 before 4.9.11, from 5.0 before 5.2.1GitHub Advisory Database
phpmyadmin phpmyadminbefore 4.9.11, from 5.0.0 before 5.2.1NVD
phpmyadmin (Bitnami)before 4.9.11, from 5.0.0 before 5.2.1Bitnami Vulnerability Database

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

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

SourceRecordLicence
CVE ListCVE-2023-25727 changed 2025-11-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-6hr3-44gx-g6wh changed 2025-03-21CC-BY-4.0
NVDCVE-2023-25727 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-PHPMYADMIN-2023-25727 changed 2026-09-08Apache-2.0