Stored Cross-Site Scripting in phpMyFAQ Affects Multiple Users
CVE-2026-56736
8.2HIGH
What is CVE-2026-56736?
A stored cross-site scripting (XSS) vulnerability exists in phpMyFAQ, an open source FAQ web application. This issue affects versions prior to 4.2.0-alpha, allowing unauthenticated users or those with low privileges to inject arbitrary JavaScript code. When administrators view or edit user-submitted FAQ entries, this malicious code executes in their browsers, potentially leading to session theft and admin account takeovers. The vulnerability arises from the improper handling of HTML entities within the application, specifically how html_entity_decode() is used after strip_tags(), culminating in unvalidated content being rendered with Twig's |raw filter. The issue has been resolved in version 4.2.0-alpha.
Affected Version(s)
phpMyFAQ < 4.2.0-alpha
