CVE-2021-29625
MEDIUM 6.1CVSS 3.1XSS in doc_link
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).
- Published
- 19 May 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-2v82-5746-vwqc
- Sources
- NVDJSONOSV GHSA-2v82-5746-vwqcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | adminer | adminercpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:* |
>= 4.6.1, < 4.8.1 | 4.8.1 |
| OSV | Packagist | vrana/adminer | >= 4.7.8, < 4.8.1 | 4.8.1 |
References
- https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7 · Patch, Third Party Advisory, WEB
- https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc · Patch, Third Party Advisory, WEB
- https://sourceforge.net/p/adminer/bugs-and-features/797/ · Exploit, Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-29625 · ADVISORY
- https://packagist.org/packages/vrana/adminer · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 19 May 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Mar 2022)