
CVE catalog
CVE-2021-29625
adminer: CVE-2021-29625
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 9.57% · Oct 25, 2026
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`).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | adminer | sid | 6.1.2-1 | fixed |
| Debian | adminer | forky | 6.1.0-1 | fixed |
| Debian | adminer | trixie | 5.2.1+dfsg-1 | fixed |
| Debian | adminer | bookworm | 4.8.1-1 | fixed |
| Ubuntu | adminer | pro | 4.7.2-1 | vulnerable |
| Ubuntu | adminer | pro | 4.7.4-1 | vulnerable |
| Ubuntu | adminer | pro | 4.7.5-1 | vulnerable |
| Ubuntu | adminer | pro | 4.7.6-1 | vulnerable |
| Ubuntu | adminer | pro | 4.7.6-1ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | adminer | source | sid | 4.7.9-2 | not yet assigned | Not reported | [988886] |
| Debian | adminer | source | forky | 4.7.9-2 | not yet assigned | Not reported | [988886] |
| Debian | adminer | source | trixie | 4.7.9-2 | not yet assigned | Not reported | [988886] |
| Debian | adminer | source | bookworm | 4.7.9-2 | not yet assigned | Not reported | [988886] |
| Ubuntu | adminer | deb | pro | 4.7.6-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-29625 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [adminer]Fixed
Details (2)
4.8.1-1· all · bookwormFixed · Fixed:
4.7.9-2dsa · adminer · debian · bookworm; dsa · adminer · debian · 12
4.8.1-1· all · bookwormFixed · Fixed:
4.7.9-2dsa · adminer · debian · bookworm; dsa · adminer · debian · 12
[Debian 13 (Trixie)]
- [adminer]Fixed
Details (2)
5.2.1+dfsg-1· all · trixieFixed · Fixed:
4.7.9-2dsa · adminer · debian · 13
5.2.1+dfsg-1· all · trixieFixed · Fixed:
4.7.9-2dsa · adminer · debian · 13
Observed: