CVE-2026-46361

MEDIUM

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

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GHSA Advisory GHSA-pqh6-8fxf-jx22
https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pqh6-8fxf-jx22
Third Party Advisory third-party-advisory
VulnCheck Advisory: phpMyFAQ - Stored Cross-Site Scripting via raw Filter in search.twig
https://www.vulncheck.com/advisories/phpmyfaq-stored-cross-site-scripting-via-raw-filter-in-search-twig

Scores

CVSS v3 6.9
EPSS 0.0025
EPSS Percentile 15.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (4)
phpmyfaq/phpmyfaq 0 - 4.1.2Packagist
thorsten/phpmyfaq < 4.1.2
thorsten/phpmyfaq 0 - 4.1.2Packagist
thorsten/phpmyfaq 4.1.2
Published May 15, 2026
Tracked Since May 16, 2026