Cyber Resilience

CVE-2022-23808

Medium

Published: 22 January 2022

Published
22 January 2022
Modified
05 May 2025
KEV Added
Patch
CVSS Score v3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.4936 97.9th percentile
Risk Priority 42 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-23808 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Phpmyadmin Phpmyadmin. Its CVSS base score is 6.1 (Medium).

Operationally, ranked in the top 2.1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

CVE-2022-23808 is a cross-site scripting vulnerability affecting phpMyAdmin versions 5.1 prior to 5.1.2. The flaw resides in the setup script, where insufficient input sanitization allows an attacker to inject malicious code that results in XSS or HTML injection, as classified under CWE-79. The issue carries a CVSS 3.1 base score of 6.1 with network attack vector, low complexity, no required privileges, required user interaction, and changed scope.

An unauthenticated remote attacker can exploit the vulnerability by crafting a malicious request that triggers the setup script, causing the injected code to execute in a victim's browser session. Successful exploitation can lead to limited impacts on confidentiality and integrity, such as session hijacking or unauthorized actions within the affected phpMyAdmin instance.

The official phpMyAdmin security announcement PMASA-2022-2 and the Gentoo GLSA 202311-17 both recommend upgrading to version 5.1.2 or later to remediate the issue, with no additional workarounds specified beyond patching.

The EPSS score for this CVE rose from lower values after disclosure to a peak of 0.6841 on 2025-12-11 before receding to the current 0.4936, indicating increased exploitation interest emerged well after the initial publication.

EU & UK References

Vulnerability details

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.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

phpmyadmin
phpmyadmin
5.1.0 — 5.1.2

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References