Skip to main content
Public proof of conceptFix available

CVE-2021-29625

A public proof of concept exists; no exploitation attested.

  • Published2021-05-19
  • Fixed in4.8.1
  • WeaknessCWE-79

Am I 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
  1. 2021-05-1922:15CVE publishedNVD
  2. 2026-11-2911:26EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD · OSV
Adminer
BranchAffectedFixed in
4.x≥ 4.6.1, < 4.8.14.8.1
4.x≥ 4.7.8, < 4.8.14.8.1

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

Full record on NVD

Fix

  1. Update Adminer to 4.8.1

Advisories and patches

Detection

read 2026-12-04 21:56 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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`).

Is CVE-2021-29625 actively exploited?

Active exploitation of CVE-2021-29625 has not been confirmed. Its EPSS score was 10.2% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-29625?

CVE-2021-29625 has a CVSS v3 base score of 6.1 (Medium severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

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

Sources for this record