# CVE-2021-29625: XSS in doc_link

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 10.2%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-19T21:35:11.000Z
- Modified: 2026-07-08T06:29:28.930Z
- Also known as: GHSA-2v82-5746-vwqc
- Weaknesses: CWE-79
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- vrana adminer: >= 4.7.8, < 4.8.1
- vrana/adminer (Packagist): from 4.7.8 before 4.8.1
- adminer adminer: from 4.6.1 before 4.8.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://sourceforge.net/p/adminer/bugs-and-features/797/> (exploit, product, third-party-advisory)
- <https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc> (patch, third-party-advisory, web)
- <https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29625> (advisory)
- <https://packagist.org/packages/vrana/adminer> (web)
- <https://sourceforge.net/p/adminer/bugs-and-features/797> (web)

## Sources

- CVE List: [CVE-2021-29625](https://www.cve.org/CVERecord?id=CVE-2021-29625), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-2v82-5746-vwqc](https://github.com/advisories/GHSA-2v82-5746-vwqc), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-29625](https://nvd.nist.gov/vuln/detail/CVE-2021-29625), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29625 · Whole record: https://cve.day/CVE-2021-29625.json · Rebuilt by cve.day 2026-11-25T22:58:01.462Z
