CVE-2021-29625
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`).
EPSS 29.51% · 96.7th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | adminer | 4.6.2-1, 0, 4.3.1-2 |
| Ubuntu:Pro:20.04:LTS | adminer | 0, 4.7.2-1, 4.7.5-1 |
Exploit Intelligence
- https://sourceforge.net/p/adminer/bugs-and-features/797/ (nist-nvd)
- CIRCL confirmed: CVE-2021-29625 (circl-sighting)
- https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc (circl)
- https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7 (circl)
- web_poc_map_v2.yaml (github-poc)
- web_poc_map_v2.yaml (github-poc)
- web_poc_map_v2.yaml (github-poc)
- web_poc_map_v2.yaml (github-poc)
- web_poc_map_v2.yaml (github-poc)
- web_poc_map_v2.yaml (github-poc)
…and 7 more exploits
Timeline
- May 19, 2021 CVE Published
- May 20, 2021 EPSS Score
- May 25, 2021 CVE Updated
- Feb 4, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- Apr 27, 2023 PoC Published
- Mar 17, 2025 EPSS Score
- Mar 18, 2025 EPSS Score
- Mar 24, 2025 EPSS Score
- Mar 26, 2025 EPSS Score
- Mar 29, 2025 EPSS Score
- Mar 30, 2025 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-29625 third-party-advisory
- https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc third-party-advisory
- https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7 third-party-advisory
- https://sourceforge.net/p/adminer/bugs-and-features/797/ third-party-advisory
- https://ubuntu.com/security/notices/USN-5271-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-29625 third-party-advisory