{"id":"CVE-2026-46361","title":"phpMyFAQ - Stored Cross-Site Scripting via raw Filter in search.twig","summary":"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 privile…","severity":"medium","cvss":6.9,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","cvssSource":"cna","cwe":["CWE-79"],"vendor":"thorsten","product":"phpmyfaq","affected":["phpmyfaq < 4.1.2"],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-16T01:17:36.125046Z"},"exploitAvailable":true,"published":"2026-05-15","updated":"2026-11-08","sourceUpdated":"2026-11-08T14:03:53.644Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-46361","references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pqh6-8fxf-jx22","label":"GitHub Security Advisory (GHSA-pqh6-8fxf-jx22)"},{"url":"https://www.vulncheck.com/advisories/phpmyfaq-stored-cross-site-scripting-via-raw-filter-in-search-twig","label":"VulnCheck Advisory: phpMyFAQ - Stored Cross-Site Scripting via raw Filter in search.twig"}],"tags":["cve.org","exploit-available"],"epss":0.00289,"epssPercentile":0.21643,"ingestedAt":"2026-11-08T14:51:22.419Z","slug":"CVE-2026-46361","body":"## Overview\n\nphpMyFAQ 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.\n\n## Affected\n\n- `phpmyfaq < 4.1.2`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":50,"depthScoreParts":{"impact":38,"likelihood":0.1,"exploitation":12,"ransomware":0},"changes":[]}