CVE-2022-4408: 
PHP vulnerability analysis and mitigation

Overview

Cross-site Scripting (XSS) - Stored vulnerability was discovered in GitHub repository thorsten/phpmyfaq prior to version 3.1.9. The vulnerability was disclosed on December 11, 2022, and was assigned CVE-2022-4408. The issue affected phpMyFAQ installations before version 3.1.9 (NVD CVE).

Technical details

The vulnerability was classified as a Stored Cross-Site Scripting (CWE-79) issue with a CVSS v3.1 base score of 5.4 (Medium). The attack vector is network-based (AV:N), requiring low attack complexity (AC:L) and low privileges (PR:L), with user interaction required (UI:R). The scope is changed (S:C), with low impact on confidentiality (C:L) and integrity (I:L), and no impact on availability (A:N) (NVD CVE).

Impact

The stored XSS vulnerability could allow attackers to inject malicious scripts that would be permanently stored on the target server and executed in the context of other users' browsers when the affected content is viewed. This could lead to theft of sensitive information, session hijacking, or other malicious actions performed in the context of the affected users.

Exploitability

The vulnerability requires low attack complexity but does need low privileges and user interaction for successful exploitation. The issue has been documented with a proof of concept available (Huntr Advisory).

Mitigation and workarounds

The vulnerability was fixed in phpMyFAQ version 3.1.9 by adding missing string escaping. Users should upgrade to version 3.1.9 or later to address this security issue. The fix includes proper escaping of user input using htmlspecialchars() function (GitHub Patch).

Additional resources


Source: This report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-107845CRITICAL9.3
  • PHP logoPHP
  • contao/comments-bundle
NoYesOct 09, 2026
CVE-2026-107844MEDIUM5.3
  • PHP logoPHP
  • contao/core-bundle
NoYesOct 09, 2026
CVE-2026-107851MEDIUM4.3
  • PHP logoPHP
  • contao/core-bundle
NoYesOct 09, 2026
CVE-2026-107850MEDIUM4.3
  • PHP logoPHP
  • contao/core-bundle
NoYesOct 09, 2026
CVE-2026-107848LOW3.5
  • PHP logoPHP
  • contao/core-bundle
NoYesOct 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management