Live threats

All CVEs / Phpmyadmin

CVE-2020-10804Phpmyadmin

High 8.0

Priority
48
CVSS 3.1
8.0
EPSS
2.4%
probability of exploitation in 30 days · percentile 84
Auth required
Yes
Published
Mar 22, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

What happens

In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was found in retrieval of the current username (in libraries/classes/Server/Privileges.php and libraries/classes/UserPassword.php). A malicious user with access to the server could create a crafted username, and then trick the victim into performing specific actions with that user account (such as editing its privileges).

Original NVD text.

What to do

  1. Apply the vendor's security update for Phpmyadmin.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist phpmyadmin/phpmyadmin ≥ 4.9.0 < 4.9.5 4.9.5 composer require "phpmyadmin/phpmyadmin:^4.9.5"
Packagist phpmyadmin/phpmyadmin ≥ 5.0.0 < 5.0.2 5.0.2 composer require "phpmyadmin/phpmyadmin:^5.0.2"

Per OSV / GitHub Advisories (GHSA-h65r-8fp8-w7cx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
phpmyadminphpmyadmin≥ 4.0.0 < 4.9.5
phpmyadminphpmyadmin≥ 5.0.0 < 5.0.2
fedoraprojectfedora30
fedoraprojectfedora31
fedoraprojectfedora32
opensusebackports_sle15.0
opensusebackports_sle15.0
opensuseleap15.1
susepackage_huball

Official sources

References

Links published by the sources. Open them with care.