CVE-2022-3766
Published: 31 October 2022
Summary
CVE-2022-3766 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Phpmyfaq Phpmyfaq. Its CVSS base score is 6.1 (Medium).
Operationally, ranked in the top 3.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2022-3766 is a reflected cross-site scripting vulnerability (CWE-79) affecting the phpMyFAQ application in the thorsten/phpmyfaq GitHub repository prior to version 3.1.8. The flaw carries a CVSS 3.1 base score of 6.1 and permits an unauthenticated remote attacker to inject arbitrary script into responses returned to a victim's browser.
An attacker can exploit the issue by crafting a malicious link or request that is reflected back without proper sanitization; when a user clicks the link, script executes in the context of the phpMyFAQ origin. Successful exploitation can result in theft of session tokens, redirection to attacker-controlled sites, or other actions within the victim's browser session.
Public references point to a corrective commit that resolves the input-handling weakness; administrators are advised to upgrade to phpMyFAQ 3.1.8 or later. The associated huntr.dev report and proof-of-concept references document the same remediation path.
The EPSS score remains steady at 0.2358 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-7129
Vulnerability details
Cross-site Scripting (XSS) - Reflected in GitHub repository thorsten/phpmyfaq prior to 3.1.8.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
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.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.