Skip to main content
← All vulnerabilities
CVE-2026-56736GHSA-PGWP-VC7Q-CVJ3

phpMyFAQ has Stored XSS in Admin FAQ Editor via HTML Entity Bypass in Frontend FAQ Submission

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.0-alpha
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

phpMyFAQ is an open source FAQ web application. A stored cross-site scripting (XSS) vulnerability in versions prior to 4.2.0-alpha allows any unauthenticated user (or low-privileged registered user) to inject arbitrary JavaScript that executes in an administrator's browser when they review or edit a user-submitted FAQ entry. This leads to admin account takeover via session theft. The vulnerability exists because `html_entity_decode()` converts HTML entities into executable HTML after `strip_tags()` has already passed them through, and the admin template renders the content with Twig's `|raw` filter without any output sanitization. Version 4.2.0-alpha fixes the issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • thorsten phpMyFAQ

    fixed in 4.2.0-alpha

  • thorsten/phpmyfaqPackagist

    fixed in 4.2.0-alpha

  • phpmyfaq/phpmyfaqPackagist

    fixed in 4.2.0-alpha

References 1

GitHub · thorsten/phpMyFAQ