← Vulnerability feed

Vulnerability record · CVE-2021-29625 · published 19 May 2021

CVE-2021-29625: Adminer cross-site scripting vulnerability

Adminer · Adminer

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

6.1 CVSS 3.1 Medium EPSS 9.6% · top 4.7% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score, v2 4.3
9.6%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-29625 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.2CVE-2021-21311Adminer server-side request forgery in bundled driver buildsAdminer versions 4.0.0 through 4.7.8 contain a server-side request forgery flaw, affecting builds that bundle all drivers such as adminer.php. An una…KEVEPSS 98%analysed9.8CVE-2018-7667Adminer server-side request forgery (ssrf) vulnerabilityAdminer through 4.3.1 has SSRF via the server parameter.EPSS 4.4%8.6CVE-2025-43960Adminer deserialization of untrusted data vulnerabilityAdminer 4.8.1, when using Monolog for logging, allows a Denial of Service (memory consumption) via a crafted serialized payload (e.g., using s:100000…EPSS 0.73%7.5CVE-2026-25892Adminer improper input validation vulnerabilityAdminer is open-source database management software. Adminer v5.4.1 and earlier has a version check mechanism where adminer.org sends signed version …EPSS 1.9%7.5CVE-2021-43008Adminer vulnerabilityImproper Access Control in Adminer versions 1.12.0 to 4.6.2 (fixed in version 4.6.3) allows an attacker to achieve Arbitrary File Read on the remote …EPSS 14%6.1CVE-2020-35572Adminer cross-site scripting vulnerabilityAdminer through 4.7.8 allows XSS via the history parameter to the default URI.EPSS 2.0%6.1CVE-2026-42897Microsoft Exchange Server XSS enables spoofingMicrosoft Exchange Server and Exchange Server Subscription Edition fail to neutralize input during web page generation, a cross-site scripting flaw (…KEVEPSS 0.52%analysed6.1CVE-2025-48700Zimbra Classic UI stored XSS via crafted email HTMLZimbra Collaboration Suite Classic UI fails to properly sanitize HTML content in email messages, allowing crafted tag structures and attribute values…KEVEPSS 1.7%analysed

Source: NIST National Vulnerability Database (record CVE-2021-29625), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.