{"id":"CVE-2022-23808","published":"2022-01-22T00:00:00Z","modified":"2025-05-05T16:25:09Z","title":"An issue was discovered in phpMyAdmin 5.1 before 5.1.2","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.08383,"percentile":0.95105,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.phpmyadmin.net/security/PMASA-2022-2/","tags":[]},{"url":"https://infosecwriteups.com/exploit-cve-2022-23808-85041c6e5b97","tags":[]},{"url":"https://security.gentoo.org/glsa/202311-17","tags":["vendor-advisory"]}],"priority":{"score":28.3,"factors":[{"name":"EPSS percentile","points":19.02},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2022-02-01","earliestUrl":"https://github.com/dipakpanchal05/CVE-2022-23808","repos":[{"name":"dipakpanchal05/CVE-2022-23808","url":"https://github.com/dipakpanchal05/CVE-2022-23808","stars":117,"created":"2022-02-01"}]},"nuclei":[{"id":"CVE-2022-23808","name":"phpMyAdmin < 5.1.2 - Cross-Site Scripting","severity":"medium","path":"http/cves/2022/CVE-2022-23808.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-23808.yaml"}],"first":{"date":"2022-02-01","source":"PoC-in-GitHub","url":"https://github.com/dipakpanchal05/CVE-2022-23808"},"provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:22:03.773377Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpmyadmin/phpmyadmin","vulnerableRanges":[">=5.1.0, <5.1.2"],"patched":["5.1.2"],"from":["GHSA-vcwc-6mr9-8m7c"],"provenance":"source"}],"summary":{"text":"The flaw is in the setup script of phpMyAdmin 5.1 before 5.1.2, where insufficient input handling lets an attacker inject malicious code. An attacker who can get a user to interact with a crafted request (user interaction is required, and no prior authentication is needed, reachable over the network) could trigger cross-site scripting or HTML injection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:18:44Z"},"euvd":{"id":"EUVD-2022-0704","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-26934","published":"2020-10-10","fixed":"5.0.3","kev":false},{"cve":"CVE-2020-26935","published":"2020-10-10","fixed":"5.0.3","kev":false},{"cve":"CVE-2022-23807","published":"2022-01-22","fixed":"5.1.2","kev":false},{"cve":"CVE-2022-23808","published":"2022-01-22","fixed":"5.1.2","kev":false},{"cve":"CVE-2022-0813","published":"2022-03-09","fixed":"5.1.3","kev":false,"link":{"from":"CVE-2022-23808","to":"CVE-2022-0813","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyadmin/phpmyadmin","fromFixed":"5.1.2","toFixed":"5.1.3","daysApart":46}]}},{"cve":"CVE-2023-25727","published":"2023-02-13","fixed":"5.2.1","kev":false},{"cve":"CVE-2025-24530","published":"2025-01-23","fixed":"5.2.2","kev":false}],"package":"Packagist:phpmyadmin/phpmyadmin"}}