{"id":"CVE-2021-29625","aliases":["GHSA-2v82-5746-vwqc"],"url":"https://o3.security/vulnerability/CVE-2021-29625","summary":"XSS in doc_link","details":"### Impact\nUsers of MySQL, MariaDB, PgSQL and SQLite are affected. 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.\n\n### Patches\nPatched by 4043092, included in version [4.8.1](https://github.com/vrana/adminer/releases/tag/v4.8.1).\n\n### Workarounds\nDo both:\n* Use browser supporting strict CSP.\n* Enable the native PHP extensions (e.g. `mysqli`) or disable displaying PHP errors (`display_errors`).\n\n### References\nhttps://sourceforge.net/p/adminer/bugs-and-features/797/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Comment at 4043092.\n","published":"2021-05-19T22:15:07.903Z","modified":"2026-08-07T16:50:16.391185Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"vrana/adminer","fixedVersion":"4.8.1"}],"fix":{"url":"https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7","label":"vrana/adminer@4043092"},"references":[{"type":"FIX","url":"https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7"},{"type":"FIX","url":"https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc"},{"type":"EVIDENCE","url":"https://sourceforge.net/p/adminer/bugs-and-features/797/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29625"},{"type":"WEB","url":"https://packagist.org/packages/vrana/adminer"},{"type":"WEB","url":"https://sourceforge.net/p/adminer/bugs-and-features/797"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T16:50:16.391185Z"}}