CVE-2021-29625
A public proof of concept exists; no exploitation attested.
- Published2021-05-19
- Fixed in4.8.1
- WeaknessCWE-79
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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`).
Timeline
dates in UTC- 2021-05-1922:15CVE publishedNVD
- 2026-11-2911:26EPSS crossed 10 %FIRST EPSS
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.x | ≥ 4.6.1, < 4.8.1 | 4.8.1 | NVD |
| 4.x | ≥ 4.7.8, < 4.8.1 | 4.8.1 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- adminerUbuntu:Pro:20.04:LTSall versions · fixed in 4.7.6-1ubuntu0.1~esm1
- adminerUbuntu:Pro:18.04:LTSall versions · fixed in 4.6.2-1ubuntu0.1~esm1
- adminerUbuntu:Pro:16.04:LTSall versions · fixed in 4.2.1-1ubuntu1+esm1
- adminerDebian:14all versions · fixed in 4.7.9-2
- adminerDebian:13all versions · fixed in 4.7.9-2
- adminerDebian:12all versions · fixed in 4.7.9-2
Fix
- Update Adminer to 4.8.1
Advisories and patches
- github.comPatch
- github.comPatch
Detection
read 2026-12-04 21:56 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- CNACVSS 3.17.5known since 2026-10-23
- NVDCVSS 3.16.1read 2026-10-23
- NVDCVSS 2.04.3read 2026-10-23
- CNAweakness (CWE)CWE-79known since 2026-10-23
- FIRST EPSSEPSS score10.2 %read 2026-12-04
- ProjectDiscoverydetectionread 2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2021-05-17
Identifiers
- EUVD-2022-1276same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-2v82-5746-vwqcsame flawGitHub Advisory Database · CC-BY-4.0
- USN-5271-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Published
- 2021-05-19
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-2v82-5746-vwqc
Frequently asked questions
What is CVE-2021-29625?
Is CVE-2021-29625 actively exploited?
What is the CVSS score for CVE-2021-29625?
Running vrana/adminer? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2021-21311KEVsame product
- CVE-2021-43008same product
- CVE-2026-25892same productAdminer has an Unauthenticated Persistent DoS via Array Injection in ?script=version Endpoint
- CVE-2026-56703same product
- CVE-2026-130375same productAdminNeo before 5.9.1 RCE via SQLite file: URI database name
- CVE-2026-109347same product
- CVE-2025-43960same product
- CVE-2026-56705same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2v82-5746-vwqc
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served