# CVE-2021-29625: adminer: Adminer is open-source database management software

CVE-2021-29625 is fixed in adminer on 1 platform, first by adminer 4.6.2-1ubuntu0.1~esm1, released May 19, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-29625
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0957
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 19, 2021

## Description

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | adminer Ubuntu 18.04.6 LTS (bionic) | 4.6.2-1ubuntu0.1~esm1 | [adminer 4.6.2-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-adminer-4.6.2-1ubuntu0.1-esm1.md) | May 19, 2021 |
| Linux | adminer Ubuntu 20.04 LTS (focal) | 4.7.6-1ubuntu0.1~esm1 | [adminer 4.7.6-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-adminer-4.7.6-1ubuntu0.1-esm1.md) | May 19, 2021 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
