Authenticated script execution via unescaped upload filename
Published Feb 13, 2023 · Updated Nov 3, 2025
Cross-site scripting in phpMyAdmin 4.3.0 through 4.9.10 and 5.0.0 through 5.2.0 allows remote authenticated users to run script via SQL upload. The drag_drop_import.js result dialog reads the uploaded file's data-filename value and appends it to an HTML string without escaping, so markup in the filename is interpreted by the browser. Exploitation requires authenticated access, an enabled drag-and-drop import feature, and interaction with a crafted SQL upload; script execution is confined to the affected phpMyAdmin web origin.
Summary
What happened
Cross-site scripting in phpMyAdmin 4.3.0 through 4.9.10 and 5.0.0 through 5.2.0 allows remote authenticated users to run script via SQL upload. The drag_drop_import.js result dialog reads the uploaded file's data-filename value and appends it to an HTML string without escaping, so markup in the filename is interpreted by the browser. Exploitation requires authenticated access, an enabled drag-and-drop import feature, and interaction with a crafted SQL upload; script execution is confined to the affected phpMyAdmin web origin.
The record
- CVE
- CVE-2023-25727
- Published
- Feb 13, 2023
- Updated
- Nov 3, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-79, T1059.007
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 13, 2023CVE publishedPublication date reported by the CVE source.
- Nov 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo