Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-46361 EUVD-2026-30596GHSA-478m-mrw4-qf2wGHSA-pqh6-8fxf-jx22

phpMyFAQ - Stored Cross-Site Scripting via raw Filter in search.twig

Published May 15, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

Description

phpMyFAQ before 4.1.2 contains a stored cross-site scripting vulnerability in search.twig where result.question and result.answerPreview are rendered with the raw filter, disabling autoescape protection. Attackers with FAQ editor privileges can inject HTML-entity-encoded payloads that bypass html_entity_decode(strip_tags()) processing in SearchController.php, executing arbitrary JavaScript in every visitor's browser context including administrators.

Affected products

VendorProductAffectedFixed
thorsten phpmyfaq < 4.1.2 4.1.2

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmyfaq/phpmyfaq < 4.1.2 4.1.2 GHSA-pqh6-8fxf-jx22
Packagist thorsten/phpmyfaq < 4.1.2 4.1.2 GHSA-pqh6-8fxf-jx22

References