CVE-2026-46361
HIGH 8.2CVSS 4.0phpMyFAQ has stored XSS via | raw Filter in search.twig — html_entity_decode(strip_tags()) Bypass in Search Result Rendering
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.
- Published
- 15 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-pqh6-8fxf-jx22
- Sources
- NVDJSONOSV GHSA-pqh6-8fxf-jx22JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | phpmyfaq/phpmyfaq | < 4.1.2 | 4.1.2 |
| OSV | Packagist | thorsten/phpmyfaq | < 4.1.2 | 4.1.2 |
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pqh6-8fxf-jx22 · WEB
- https://www.vulncheck.com/advisories/phpmyfaq-stored-cross-site-scripting-via-raw-filter-in-search-twig · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-46361 · ADVISORY
- https://github.com/thorsten/phpMyFAQ · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 May 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 May 2026)