Stored Cross-Site Scripting Vulnerability in phpMyFAQ by phpMyFAQ
CVE-2026-46361
6.9MEDIUM
What is CVE-2026-46361?
A stored cross-site scripting vulnerability exists in phpMyFAQ prior to version 4.1.2, specifically in the search.twig file. This issue arises because the result.question and result.answerPreview variables are rendered using the raw filter, which disables essential autoescape protection. Consequently, attackers with FAQ editor privileges can inject HTML-entity-encoded payloads, bypassing the protection mechanisms like html_entity_decode(strip_tags()). This allows malicious scripts to execute in the browser context of any visitor, including administrators, potentially compromising user data and site integrity.
Affected Version(s)
phpmyfaq 0 < 4.1.2
phpmyfaq 4.1.2
