Vulnerability · Published May 15, 2026 · Assigned by VulnCheck

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

Medium 6.9

In plain English

A medium-severity cross-site scripting in phpmyfaq from thorsten. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.9Medium
Exploit odds (30 days)0.3%top 78.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistphpmyfaq/phpmyfaq4.1.2GHSA-pqh6-8fxf-jx22
Packagistthorsten/phpmyfaq4.1.2GHSA-pqh6-8fxf-jx22

Affected products (as reported)

VendorProductVersions
thorsten phpmyfaq 0 – before 4.1.2

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N

References