Cross-site Scripting (XSS) Affecting adminer package, versions <4.7.9-2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
9.57% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-ADMINER-18066764
  • published21 Jul 2026
  • disclosed19 May 2021

Introduced: 19 May 2021

CVE-2021-29625  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Echo:latest adminer to version 4.7.9-2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream adminer package and not the adminer package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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).

CVSS Base Scores

version 3.1