CVEvulnerability
CVE-2021-29625
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-05-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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`).
Affected configurations
• adminer adminer (>= 4.6.1 < 4.8.1)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7 Patch, Third Party Advisory
- https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc Patch, Third Party Advisory
- https://sourceforge.net/p/adminer/bugs-and-features/797/ Exploit, Product, Third Party Advisory
- https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7 Patch, Third Party Advisory
- https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc Patch, Third Party Advisory
- https://sourceforge.net/p/adminer/bugs-and-features/797/ Exploit, Product, Third Party Advisory