XSS in Adminer
CVE-2021-29625
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`).
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.096 (95.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Adminer
- Vrana Adminer — versions >= 4.7.8, < 4.8.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Product, Exploit, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-29625?
- CVE-2021-29625 is a high-severity vulnerability in Adminer, classified under Cross-site Scripting. CVSS score: 7.5/10. Published 2021-05-19.
- How severe is CVE-2021-29625?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2021-29625 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.