Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. vrana/adminer
  4. ›
  5. CVE-2021-29625

CVE-2021-29625: Cross-site Scripting

May 19, 2021 (updated May 25, 2021)

Adminer is open-source database management software. A cross-site scripting vulnerability in Adminer to 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 to are affected. As a workaround, one can use a browser supporting strict CSP or enable the native PHP extensions (e.g. mysqli) or disable displaying PHP errors (display_errors).

References

  • nvd.nist.gov/vuln/detail/CVE-2021-29625

Code Behaviors & Features

Detect and mitigate CVE-2021-29625 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.6.1 before 4.8.1

Fixed versions

  • 4.8.1

Solution

Upgrade to version 4.8.1 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/vrana/adminer/CVE-2021-29625.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.