{"id":"CVE-2026-56736","published":"2026-09-24T15:17:24.100","lastModified":"2026-09-24T15:17:24.240","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.","cvssScore":8.2,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","cwes":["CWE-79"],"vendors":[],"products":[],"references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pgwp-vc7q-cvj3","tags":[]},{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pgwp-vc7q-cvj3","tags":[]}],"exploitRefs":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pgwp-vc7q-cvj3","tags":[]},{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pgwp-vc7q-cvj3","tags":[]}],"hasPoc":true,"ai":{"summary":"A stored cross-site scripting (XSS) vulnerability in phpMyFAQ versions prior to 4.2.0-alpha allows unauthenticated users to inject JavaScript that can be executed in an administrator's browser, leading to potential admin account takeover.","exploitability":"Exploitation is relatively easy as it requires only user-submitted content and an unauthenticated user to inject malicious JavaScript. The vulnerability exists when an admin reviews or edits a user-submitted FAQ entry.","blast_radius":"If exploited, this vulnerability could lead to full admin account compromise and potential data theft or manipulation.","remediation":"Upgrade to phpMyFAQ 4.2.0-alpha or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["xss","web","admin","auth-bypass"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-02T08:50:56.770Z"}}