Skip to content
Fencer Vulns
high 7.5

CVE-2021-29625 json

XSS in doc_link

published 2021-05-19 5 y ago modified 2026-07-08 4 mo ago also GHSA-2v82-5746-vwqc , EUVD-2022-1276

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
9.6%
EPSS 9.6% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known, plus a Nuclei check

Summary

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

Patch / fix

  • packagist vrana/adminer 4.8.1
  • adminer adminer 4.8.1
  • adminer Debian 14, Debian 13, Debian 12 4.7.9-2

debian advisories DEBIAN-CVE-2021-29625

  • adminer Ubuntu Pro 18.04 LTS 4.6.2-1ubuntu0.1~esm1
  • adminer Ubuntu Pro 20.04 LTS 4.7.6-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2021-29625

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Exploit prediction

9.57% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Adminer <=4.8.0 - Cross-Site Scripting nuclei detection template
  • sourceforge.net https://sourceforge.net/p/adminer/bugs-and-features/797/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist vrana/adminer
>=4.7.8, <4.8.1
4.8.1

Affected products

  • vrana adminer

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.