CVE-2026-46361

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

State
Published
Severity
8.2 High
Published
May 15, 2026
Updated
May 28, 2026
Reserved
May 13, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:NVulnCheck
3.16.9 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:NVulnCheck

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Affected Products

ProductVersions
phpmyfaqthorsten
  • before 4.1.2Affected
  • 4.1.2Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.