Live threats

All CVEs / Adminer

CVE-2021-29625Adminer

Medium 6.1 No auth neededHigh EPSS

Priority
53
CVSS 3.1
6.1
EPSS
10.2%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
May 19, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

Adminer is open-source database management software. A cross-site scripting vulnerability in Adminer versions 4.6.1 to 4.8.0 affects users of MySQL, MariaDB, PgSQL and SQLite. XSS is in most cases prevented by strict CSP in all modern browsers. The only exception is when Adminer is using a `pdo_` extension to communicate with the database (it is used if the native extensions are not enabled). In browsers without CSP, Adminer versions 4.6.1 to 4.8.0 are affected. The vulnerability is patched in version 4.8.1. As workarounds, one can use a browser supporting strict CSP or enable the native PHP extensions (e.g. `mysqli`) or disable displaying PHP errors (`display_errors`).

Original NVD text.

What to do

  1. Apply the vendor's security update for Adminer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist vrana/adminer ≥ 4.7.8 < 4.8.1 4.8.1 composer require "vrana/adminer:^4.8.1"

Per OSV / GitHub Advisories (GHSA-2v82-5746-vwqc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
admineradminer≥ 4.6.1 < 4.8.1

Official sources

References

Links published by the sources. Open them with care.