CVE-2021-29625
MEDIUM
Published May 19, 20215y ago · Modified Jun 17, 20262w ago
6.1 CVSS 3.1
Published May 19, 2021 5y ago
Last Modified Jun 17, 2026 2w ago
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`).
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-79 Cross-site Scripting Injection
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| adminer | adminer | * | ≥4.6.1 – <4.8.1 |
References 3
- github.com https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7
- github.com https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc
- sourceforge.net https://sourceforge.net/p/adminer/bugs-and-features/797/
Remediation
- github.com https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7
- github.com https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc