Cyber Resilience

CVE-2022-3766

MediumPublic PoC

Published: 31 October 2022

Published
31 October 2022
Modified
16 February 2026
KEV Added
Patch
CVSS Score v3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.2358 96.1th percentile
Risk Priority 26 60% EPSS · 20% KEV · 20% CVSS

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

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

phpmyfaq
phpmyfaq
≤ 3.1.8

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.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References