{"schemaVersion":3,"id":"CVE-2022-3766","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Cross-site Scripting (XSS) - Reflected in GitHub repository thorsten/phpmyfaq prior to 3.1.8.","dates":{"published":"2022-10-31T00:00:00.000Z","modified":"2026-02-16T14:49:30.861Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.06478,"percentile":0.93725,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.3460000000000005,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.06132},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.06478,"percentile":0.93725}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.06132,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.06478,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.06478,"percentile":0.93725}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_90673D30898F84BF","name":"Exploit Reference (huntr.dev)","source":"reference","url":"https://huntr.dev/bounties/d9666520-4ff5-43bb-aacf-50c8e5570983","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"52445","name":"phpMyFAQ  3.1.7 - Reflected Cross-Site Scripting (XSS)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/52445","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"multiple","file":"exploits/multiple/webapps/52445.txt","codes":["CVE-2022-3766"]},"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"phpmyfaq","product":"phpmyfaq","name":"phpmyfaq","label":"phpmyfaq","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.1.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.8","eol":null,"hubHref":"/vendor/phpmyfaq/phpmyfaq"},{"vendor":"thorsten","product":"thorsten/phpmyfaq","name":"thorsten/phpmyfaq","label":"thorsten/phpmyfaq","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 3.1.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 3.1.8","eol":null,"hubHref":"/vendor/thorsten/thorstenphpmyfaq"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.dev/bounties/d9666520-4ff5-43bb-aacf-50c8e5570983","label":"huntr.dev/bounties/d9666520-4ff5-43bb-aacf-50c8e5570983","hostname":"huntr.dev","tags":["Exploit","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://github.com/thorsten/phpmyfaq/commit/c7904f2236c6c0dd64c2226b90c30af0f7e5a72d","label":"github.com/thorsten/phpmyfaq/commit/c7904f2236c6c0dd64c2226b90c30af0f7e5a72d","hostname":"github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2022-3766.md","label":"github.com/MarkLee131/awesome-web-pocs/blob/main/CVE-2022-3766.md","hostname":"github.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-10-31T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-02-16T14:49:30.861Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T09:57:25.947Z","stale":false,"partial":false}}