Every CVE Search/ Get API key

CVE-2023-25727

Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin

5.4 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

1.16%Up 0.3 points since Feb 13, 2023
90%50%10%1%

What each source reports

NVD Score used 5.4

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.

Record
CVE-2023-25727
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List 5.4

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.

Record
CVE-2023-25727
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
EUVDEUVD-2023-0641 5.4

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.

Record
EUVD-2023-0641
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-6hr3-44gx-g6wh 5.4

Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin

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.

Record
GHSA-6hr3-44gx-g6wh
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 5.4

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.

Record
CVE-2023-25727
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2023-25727 5.4

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.

Record
DEBIAN-CVE-2023-25727
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
Show 7 moreShow less
OSVGHSA-6hr3-44gx-g6wh 5.4

Cross-site Scripting vulnerability in drag-and-drop upload of phpMyAdmin

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.

Record
GHSA-6hr3-44gx-g6wh
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVUBUNTU-CVE-2023-25727 5.4

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.

Record
UBUNTU-CVE-2023-25727
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVBIT-phpmyadmin-2023-25727 No score

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.

Record
BIT-phpmyadmin-2023-25727
Updated
2026-11-02
OSVopenSUSE-SU-2023:0047-1 No score

Security update for phpMyAdmin

This update for phpMyAdmin fixes the following issues:

phpMyAdmin was updated to 5.2.1

This is a security and bufix release.

  • Security:

    • Fix (PMASA-2023-01, CWE-661, boo#1208186, CVE-2023-25727) Fix an XSS attack through the drag-and-drop upload feature.
  • Bugfixes:

    • issue #17522 Fix case where the routes cache file is invalid
    • issue #17506 Fix error when configuring 2FA without XMLWriter or Imagick
    • issue Fix blank page when some error occurs
    • issue #17519 Fix Export pages not working in certain conditions
    • issue #17496 Fix error in table operation page when partitions are broken
    • issue #17386 Fix system memory and system swap values on Windows
    • issue #17517 Fix Database Server panel not getting hidden by ShowServerInfo configuration directive
    • issue #17271 Fix database names not showing on Processes tab
    • issue #17424 Fix export limit size calculation
    • issue #17366 Fix refresh rate popup on Monitor page
    • issue #17577 Fix monitor charts size on RTL languages
    • issue #17121 Fix password_hash function incorrectly adding single quotes to password before hashing
    • issue #17586 Fix statistics not showing for empty databases
    • issue #17592 Clicking on the New index link on the sidebar does not throw an error anymore
    • issue #17584 It's now possible to browse a database that includes two % in its name
    • issue Fix PHP 8.2 deprecated string interpolation syntax
    • issue Some languages are now correctly detected from the HTTP header
    • issue #17617 Sorting is correctly remembered when $cfg['RememberSorting'] is true
    • issue #17593 Table filtering now works when action buttons are on the right side of the row
    • issue #17388 Find and Replace using regex now makes a valid query if no matching result set found
    • issue #17551 Enum/Set editor will not fail to open when creating a new column
    • issue #17659 Fix error when a database group is named tables, views, functions, procedures or events
    • issue #17673 Allow empty values to be inserted into columns
    • issue #17620 Fix error handling at phpMyAdmin startup for the JS SQL console
    • issue Fixed debug queries console broken UI for query time and group count
    • issue Fixed escaping of SQL query and errors for the debug console
    • issue Fix console toolbar UI when the bookmark feature is disabled and sql debug is enabled
    • issue #17543 Fix JS error on saving a new designer page
    • issue #17546 Fix JS error after using save as and open page operation on the designer
    • issue Fix PHP warning on GIS visualization when there is only one GIS column
    • issue #17728 Some select HTML tags will now have the correct UI style
    • issue #17734 PHP deprecations will only be shown when in a development environment
    • issue #17369 Fix server error when blowfish_secret is not exactly 32 bytes long
    • issue #17736 Add utf8mb3 as an alias of utf8 on the charset description page
    • issue #16418 Fix FAQ 1.44 about manually removing vendor folders
    • issue #12359 Setup page now sends the Content-Security-Policy headers
    • issue #17747 The Column Visibility Toggle will not be hidden by other elements
    • issue #17756 Edit/Copy/Delete row now works when using GROUP BY
    • issue #17248 Support the UUID data type for MariaDB >= 10.7
    • issue #17656 Fix replace/change/set table prefix is not working
    • issue Fix monitor page filter queries only filtering the first row
    • issue Fix 'Link not found!' on foreign columns for tables having no char column to show
    • issue #17390 Fix 'Create view' modal doesn't show on results and empty results
    • issue #17772 Fix wrong styles for add button from central columns
    • issue #17389 Fix HTML disappears when exporting settings to browser's storage
    • issue #17166 Fix 'Warning: #1287 'X' is deprecated [...] Please use ST_X instead.' on search page
    • issue Use jquery-migrate.min.js (14KB) instead of jquery-migrate.min.js…
Record
openSUSE-SU-2023:0047-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0058-1 No score

Security update for phpMyAdmin

This update for phpMyAdmin fixes the following issues:

Update to 4.9.11:

  • Fix an XSS attack through the drag-and-drop upload feature (PMASA-2023-01, CWE-661, boo#1208186, CVE-2023-25727)
  • Fix broken pagination links in the navigation sidebar
  • Fix syntax error for PHP 5
  • Fix hide_connection_errors being undefined when a controluser is set
Record
openSUSE-SU-2023:0058-1
Updated
2026-11-02
OSVopenSUSE-SU-2023:0154-1 No score

Security update for phpMyAdmin

This update for phpMyAdmin fixes the following issues:

Update to 4.9.11:

  • CVE-2023-25727: Fixed XSS vulnerability in drag-and-drop upload (boo#1208186).
Record
openSUSE-SU-2023:0154-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12689-1 No score

phpMyAdmin-5.2.1-2.1 on GA media

These are all security issues fixed in the phpMyAdmin-5.2.1-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12689-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
phpmyadmin/phpmyadmin
Packagist
4.3.0 up to 4.9.11
4.9.11
phpmyadmin/phpmyadmin
Packagist
5.0 up to 5.2.1
5.2.1
phpmyadmin
Bitnami
before 4.9.11, 5.0.0 up to 5.2.1
4.9.115.2.1
phpmyadmin
Debian:12
before 4:5.2.1+dfsg-1
4:5.2.1+dfsg-1
phpmyadmin
Debian:13
before 4:5.2.1+dfsg-1
4:5.2.1+dfsg-1
phpmyadmin
Debian:14
before 4:5.2.1+dfsg-1
4:5.2.1+dfsg-1
phpmyadmin
Debian:11
From an advisory covering 3 CVEs
before 4:5.0.4+dfsg2-2+deb11u2, plus listed versions
4:5.0.4+dfsg2-24:5.0.4+dfsg2-2+deb11u1
4:5.0.4+dfsg2-2+deb11u2
phpmyadmin/phpmyadmin
Packagist
4.3.0 up to 4.9.11, plus listed versions
4.7.04.7.14.7.24.7.34.7.4
Show 24 moreShow less
4.7.54.7.64.7.74.7.84.7.94.8.04.8.0.14.8.14.8.24.8.34.8.44.8.54.9.04.9.0.14.9.14.9.104.9.24.9.34.9.44.9.54.9.64.9.74.9.84.9.9
4.9.11
phpmyadmin/phpmyadmin
Packagist
5.0 up to 5.2.1, plus listed versions
5.0.05.0.0.15.0.15.0.25.0.3
Show 7 moreShow less
5.0.45.1.05.1.15.1.25.1.35.1.45.2.0
5.2.1
phpmyadmin
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
4:4.0.6-14:4.0.8-14:4.0.9-14:4.0.10-14:4.0.10-1ubuntu0.1
Show 4 moreShow less
4:4.0.10-1ubuntu0.1+esm14:4.0.10-1ubuntu0.1+esm24:4.0.10-1ubuntu0.1+esm34:4.0.10-1ubuntu0.1+esm4
None known
Show 15 moreShow less
Affected packages
PackageAffectedFixed
phpmyadmin
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
4:4.4.13.1-14:4.5.0.2-24:4.5.1-14:4.5.1-24:4.5.1-3
Show 13 moreShow less
4:4.5.2-14:4.5.2-24:4.5.3.1-14:4.5.4-14:4.5.4.1-24:4.5.4.1-2ubuntu14:4.5.4.1-2ubuntu24:4.5.4.1-2ubuntu2.14:4.5.4.1-2ubuntu2.1+esm24:4.5.4.1-2ubuntu2.1+esm34:4.5.4.1-2ubuntu2.1+esm44:4.5.4.1-2ubuntu2.1+esm54:4.5.4.1-2ubuntu2.1+esm6
None known
phpmyadmin
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
4:4.6.6-54:4.6.6-5ubuntu0.2+esm14:4.6.6-5ubuntu0.2+esm24:4.6.6-5ubuntu0.54:4.6.6-5ubuntu0.5+esm1
None known
phpmyadmin
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
4:4.9.1+dfsg1-24:4.9.2+dfsg1-14:4.9.5+dfsg1-1ubuntu14:4.9.5+dfsg1-24:4.9.5+dfsg1-2ubuntu0.1~esm1
None known
phpmyadmin
Ubuntu:22.04:LTS
All versions, plus listed versions
4:5.0.4+dfsg2-2ubuntu54:5.1.1+dfsg1-5ubuntu1
None known
phpmyadmin
Ubuntu:24.04:LTS
All versions, plus listed versions
4:5.2.1+dfsg-1ubuntu14:5.2.1+dfsg-2ubuntu14:5.2.1+dfsg-2ubuntu24:5.2.1+dfsg-3
None known
phpmyadmin
Ubuntu:25.10
All versions, plus listed versions
4:5.2.2-really5.2.2+20250121+dfsg-14:5.2.2-really+dfsg-14:5.2.2-really+dfsg-2
None known
phpmyadmin
Ubuntu:26.10
All versions, plus listed versions
4:5.2.3+dfsg-14:5.2.4~dev~git20260809.e0909b211b+dfsg-1
None known
phpmyadmin
Ubuntu:26.04:LTS
All versions, plus listed versions
4:5.2.2-really+dfsg-24:5.2.3+dfsg-1
None known
phpMyAdmin
SUSE:Package Hub 15 SP4
From an advisory covering 4 CVEs
before 5.2.1-bp154.2.3.1
5.2.1-bp154.2.3.1
phpMyAdmin
openSUSE:Leap 15.4
From an advisory covering 4 CVEs
before 5.2.1-bp154.2.3.1
5.2.1-bp154.2.3.1
phpMyAdmin
SUSE:Package Hub 12
before 4.9.11-58.1
4.9.11-58.1
phpMyAdmin
SUSE:Package Hub 12
From an advisory covering 2 CVEs
before 4.9.11-bp153.2.6.1
4.9.11-bp153.2.6.1
phpMyAdmin
SUSE:Package Hub 15 SP3
From an advisory covering 2 CVEs
before 4.9.11-bp153.2.6.1
4.9.11-bp153.2.6.1
phpMyAdmin
openSUSE:Leap 15.3
From an advisory covering 2 CVEs
before 4.9.11-bp153.2.6.1
4.9.11-bp153.2.6.1
phpMyAdmin
openSUSE:Tumbleweed
before 5.2.1-2.1
5.2.1-2.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-25727 is a medium vulnerability (CVSS 5.4) in Phpmyadmin, published February 13, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.16%, the 67th percentile. Fixed in phpmyadmin/phpmyadmin 4.9.11.

References

Show 18 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open