CVE-2021-29625
XSS in doc_link
Reported by github_m · Published May 19, 2021
vrana/adminer is fixed in 4.8.1 (Packagist)
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`).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vrana/adminer | Packagist | 4.8.1 |
| adminer | adminer | 4.8.1 |
| adminer | Ubuntu:Pro:18.04:LTS | 4.6.2-1ubuntu0.1~esm1 |
| adminer | Ubuntu:Pro:20.04:LTS | 4.7.6-1ubuntu0.1~esm1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vrana | adminer | >= 4.7.8, < 4.8.1 |
| vrana | adminer | 4.6.1 |
| vrana | adminer | 4.7.8 |
Timeline
- May 19, 2021 CVE Published
- May 20, 2021 EPSS Score (30 in total, the first dated here)
- Apr 27, 2023 PoC Published
- Nov 21, 2024 CVE Updated
- Mar 7, 2026 Distribution Patch
- Mar 7, 2026 Security Advisory (2 in total, the first dated here)
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-29625
vulnetix vdb fixes CVE-2021-29625
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29625/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2021-29625 advisory