{"id":"CVE-2026-56736","revision":"4b3134f7dc5740bba278f8c8f3e4a59f","records":[{"revision":"4b3134f7dc5740bba278f8c8f3e4a59f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-56736","aliases":[],"title":"phpMyFAQ has Stored XSS in Admin FAQ Editor via HTML Entity Bypass in Frontend FAQ Submission","description":"phpMyFAQ is an open source FAQ web application. A stored cross-site scripting (XSS) vulnerability in versions prior to 4.2.0-alpha allows any unauthenticated user (or low-privileged registered user) to inject arbitrary JavaScript that executes in an administrator's browser when they review or edit a user-submitted FAQ entry. This leads to admin account takeover via session theft. The vulnerability exists because `html_entity_decode()` converts HTML entities into executable HTML after `strip_tags()` has already passed them through, and the admin template renders the content with Twig's `|raw` filter without any output sanitization. Version 4.2.0-alpha fixes the issue.","state":0,"publishedAt":"2026-09-24T14:21:17.025+00:00","modifiedAt":"2026-09-24T14:52:17.024+00:00","affected":[{"ecosystem":"Vendor product","name":"phpMyFAQ","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"thorsten\",\n                    \"product\": \"phpMyFAQ\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 4.2.0-alpha\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","score":8.2,"severity":"HIGH"}],"references":["https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pgwp-vc7q-cvj3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-56736","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-56736","identifiers":["CVE-2026-56736"]},"retained":false,"historicalAffected":[]}],"coverage":[]}