CVE-2021-29625
published high CVSS 3.1 · 7.5XSS in doc_link
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vrana | — | adminer>= 4.7.8, < 4.8.1 | Affected | Not stated | GitHub_M |
| Ubuntu | bionic | adminer | Advisory build | 4.6.2-1ubuntu0.1~esm1 | USN-5271-1 |
| Ubuntu | focal | adminer | Advisory build | 4.7.6-1ubuntu0.1~esm1 | USN-5271-1 |
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`).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vrana | adminer | >= 4.7.8, < 4.8.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
2GitHub_M · cna
XSS in doc_link
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2f1c2d7e944541f0a129b12ed195388c646a77e5d4cb860914b1fa1e1465abd3
- Ingested
- 23 Sep 2026, 07:53:55 UTC
- Source record
- Official CVE record