CVE-2022-23808: An issue was discovered in phpMyAdmin 5.1 before 5.1.2
CVE-2022-23808 is a medium-severity flaw (CVSS 6.1) affecting phpmyadmin. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 5%: very likely to be exploited
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 7.9% (top 5%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2022-01-22 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: phpMyAdmin < 5.1.2 - Cross-Site Scripting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-23808?
phpmyadmin: upgrade to 5.1.2. Exact commands for each OS are on this page.
Is CVE-2022-23808 being exploited?
CVE-2022-23808 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-23808 affect?
CVE-2022-23808 affects phpmyadmin. Severity is medium (CVSS 6.1). 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.
How urgent is CVE-2022-23808?
Priority 45/100. EPSS top 5%: very likely to be exploited
Software pages
Related CVEs
- CVE-2026-119426 HIGH 7.5 UPGRADE phpMyAdmin through 5.2.3 contains a cross-site request forgery vulnerability that allows remote attackers to e
- CVE-2026-119427 MEDIUM 4.2 UPGRADE phpMyAdmin through 5.2.3 contains an sql injection vulnerability in Designer saveSetting() that allows authent
- CVE-2026-119428 LOW 3.7 UPGRADE phpMyAdmin through 5.2.3 contains a server-side request forgery vulnerability that allows unauthenticated atta
- CVE-2026-119429 MEDIUM 4.3 UPGRADE phpMyAdmin through 5.2.3 contains a missing re-authentication vulnerability that allows authenticated attacker
- CVE-2026-119561 MEDIUM 6.8 UPGRADE phpMyAdmin through 5.2.3 contains an authentication bypass vulnerability in CustomServer::parseAndValidateAsse