QID 730737

Date Published: 2023-03-03

QID 730737: PhpMyAdmin Cross-Site Scripting (XSS) Vulnerability (PMASA-2023-1)

PhpMyAdmin is a free software tool written in PHP and intended to handle the administration of MySQL over the Internet.

An XSS vulnerability has been discovered where an authenticated user can trigger an XSS attack by uploading a specially-crafted .sql file through the drag-and-drop interface.

Affected Versions:
phpMyAdmin versions from 4.3.0 prior to 4.9.1
phpMyAdmin versions from 5.0 prior to 5.2.1

QID Detection Logic (unauthenticated):
This QID sends a HTTP GET request to "doc/html/index.html" and determines the vulnerable version of phpMyAdmin running on the target system.

Successful exploitation of this vulnerability may allow an authenticated attacker to execute arbitrary JavaScript code on the target system.

  • CVSS V3 rated as Medium - 5.4 severity.
  • CVSS V2 rated as Medium - 5.5 severity.
  • Solution
    Users are advised to upgrade to phpMyAdmin 5.2.1 or 4.9.11 or the latest version.Workaround:
    Disable 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.
    Vendor References

    CVEs related to QID 730737

    Software Advisories
    Advisory ID Software Component Link
    PMASA-2023-1 URL Logo www.phpmyadmin.net/security/PMASA-2023-1/
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report