CVE-2022-23808Phpmyadmin
Medium 6.1 No auth needed
Follow: this CVE · Phpmyadmin · Phpmyadmin We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 6.5% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Jan 22, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
An issue was discovered in phpMyAdmin 5.1 before 5.1.2. An attacker can inject malicious code into aspects of the setup script, which can allow XSS or HTML injection.
What to do
- Apply the vendor's security update for Phpmyadmin.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin |
≥ 5.1.0 < 5.1.2 |
5.1.2 |
composer require "phpmyadmin/phpmyadmin:^5.1.2" |
Per OSV / GitHub Advisories (GHSA-vcwc-6mr9-8m7c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| phpmyadmin | phpmyadmin | ≥ 5.1.0 < 5.1.2 |
Official sources
References
Links published by the sources. Open them with care.
- infosecwriteups.com
- security.gentoo.org
- www.phpmyadmin.net Patch Vendor Advisory