CVE-2021-29625
XSS in doc_link
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`).
How to fix CVE-2021-29625
To remediate CVE-2021-29625, upgrade the affected package to a fixed version below.
- —upgrade to 4.7.9-2 or later
- —upgrade to 4.8.1 or later
Is CVE-2021-29625 being exploited?
Moderate — EPSS is 29.5%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (2)
- from 0, < 4.7.9-2
- >= 4.7.8, < 4.8.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |