Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Adminer | Adminer | >= 4.6.1, < 4.8.1 |
Related Weaknesses (CWE)
References
- https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7PatchThird Party Advisory
- https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqcPatchThird Party Advisory
- https://sourceforge.net/p/adminer/bugs-and-features/797/ExploitProductThird Party Advisory
- https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7PatchThird Party Advisory
- https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqcPatchThird Party Advisory
- https://sourceforge.net/p/adminer/bugs-and-features/797/ExploitProductThird Party Advisory
FAQ
What is CVE-2021-29625?
CVE-2021-29625 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 pre...
How severe is CVE-2021-29625?
CVE-2021-29625 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-29625?
Check the references section above for vendor advisories and patch information. Affected products include: Adminer Adminer.