CVE-2022-23808 json
Cross-site Scripting in phpmyadmin
published 2022-01-22 4 y ago modified 2026-09-08 2 mo ago also BIT-phpmyadmin-2022-23808 , EUVD-2022-0704 , GHSA-vcwc-6mr9-8m7c
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 7.9%
- EPSS 7.9% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- packagist phpmyadmin/phpmyadmin 5.1.2
- bitnami phpmyadmin 5.1.2
- phpmyadmin phpmyadmin 5.1.2
- phpmyadmin Debian 14, Debian 13, Debian 12 4:5.1.3+dfsg1-1
debian advisories DEBIAN-CVE-2022-23808
- phpMyAdmin openSUSE Tumbleweed 5.1.2-1.1
- phpMyAdmin Package Hub 15 SP4, openSUSE Leap 15.4 5.2.1-bp154.2.3.1
opensuse advisories openSUSE-SU-2024:11765-1openSUSE-SU-2023:0047-1
- phpmyadmin Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 5.1.2-r0
alpine advisories ALPINE-CVE-2022-23808
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-23808 updated cvss 6.1
phpMyAdmin: multiple XSS and HTML injection attacks in setup script
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-027-02 updated cvss 6.1
Festo Didactic SE MES PC
-
Festo Didactic SE MES PC shipped_with_Windows_10affected: vendor fix
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
7.94% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template phpMyAdmin < 5.1.2 - Cross-Site Scripting nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | phpmyadmin/phpmyadmin | >=5.1.0, <5.1.2 |
5.1.2 |
| bitnami | phpmyadmin | >=5.1.0, <5.1.2 |
5.1.2 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
phpmyadmin.net
/security/PMASA-2022-2/
patch, vendor-advisory, advisory
-
github.com
/phpmyadmin/phpmyadmin/commit/44eb12f15a562718bbe54c9a16af91ceea335d59
web
-
github.com
/phpmyadmin/phpmyadmin/commit/5118acce1dfcdb09cbc0f73927bf51c46feeaf38
web
-
security.gentoo.org
/glsa/202311-17
vendor-advisory, web
-
infosecwriteups.com
/exploit-cve-2022-23808-85041c6e5b97
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-23808
advisory, web
-
github.com
/phpmyadmin/phpmyadmin
package
-
phpmyadmin.net
/security/PMASA-2022-2
web
Sources
- CVE List CVE-2022-23808
- GitHub Advisory GHSA-vcwc-6mr9-8m7c
- NVD CVE-2022-23808
- OSV BIT-phpmyadmin-2022-23808
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.