{"id":"CVE-2022-3766","published":"2022-10-31T00:00:00Z","modified":"2026-02-16T14:49:30Z","title":"Cross-site Scripting (XSS) - Reflected in thorsten/phpmyfaq","vendor":"thorsten","product":"thorsten/phpmyfaq","tier":"tail","description":{"text":"Cross-site Scripting (XSS) - Reflected in GitHub repository thorsten/phpmyfaq prior to 3.1.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.08283,"percentile":0.94899,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/d9666520-4ff5-43bb-aacf-50c8e5570983","tags":[]},{"url":"https://github.com/thorsten/phpmyfaq/commit/c7904f2236c6c0dd64c2226b90c30af0f7e5a72d","tags":[]},{"url":"https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2022-3766.md","tags":[]}],"priority":{"score":29.1,"factors":[{"name":"EPSS percentile","points":18.98},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-12-02"},"nuclei":[{"id":"CVE-2022-3766","name":"phpMyFAQ < 3.1.8 - Cross-Site Scripting","severity":"medium","path":"http/cves/2022/CVE-2022-3766.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-3766.yaml"}],"first":{"date":"2025-12-02","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52445"},"provenance":"source"},"vendorSlug":"thorsten","affectedVersions":[{"vendor":"thorsten","product":"thorsten/phpmyfaq","versions":[">= unspecified, < 3.1.8"]}],"affected":[{"ecosystem":"Packagist","package":"thorsten/phpmyfaq","vulnerableRanges":["<3.1.8"],"patched":["3.1.8"],"from":["GHSA-mg5h-rhjq-6v84"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-7129","exploited":false,"provenance":"source"},"exploits":[{"id":52445,"url":"https://www.exploit-db.com/exploits/52445","title":"phpMyFAQ  3.1.7 - Reflected Cross-Site Scripting (XSS)","date":"2025-12-02","verified":false,"provenance":"source"}],"exploitRefs":["https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2022-3766.md"],"lineage":{"familyId":"fam-thorsten-phpmyfaq-cve-2022-3766","packageHistory":[{"cve":"CVE-2018-16650","published":"2018-09-07","fixed":"2.9.11","kev":false},{"cve":"CVE-2022-3754","published":"2022-10-29","fixed":"3.1.8","kev":false},{"cve":"CVE-2022-3765","published":"2022-10-31","fixed":"3.1.8","kev":false},{"cve":"CVE-2022-3766","published":"2022-10-31","fixed":"3.1.8","kev":false},{"cve":"CVE-2022-4407","published":"2022-12-11","fixed":"3.1.9","kev":false,"link":{"from":"CVE-2022-3766","to":"CVE-2022-4407","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:thorsten/phpmyfaq","fromFixed":"3.1.8","toFixed":"3.1.9","daysApart":41},{"kind":"similar","provenance":"machine","score":1.0,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2022-4408","published":"2022-12-11","fixed":"3.1.9","kev":false,"link":{"from":"CVE-2022-3766","to":"CVE-2022-4408","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:thorsten/phpmyfaq","fromFixed":"3.1.8","toFixed":"3.1.9","daysApart":41},{"kind":"similar","provenance":"machine","score":0.92,"basis":"same product + CWE + description similarity"}]}},{"cve":"CVE-2022-4409","published":"2022-12-11","fixed":"3.1.9","kev":false,"link":{"from":"CVE-2022-3766","to":"CVE-2022-4409","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:thorsten/phpmyfaq","fromFixed":"3.1.8","toFixed":"3.1.9","daysApart":41}]}}],"package":"Packagist:thorsten/phpmyfaq"}}