CVE-2026-56736
phpMyFAQ is an open source FAQ web application. A stored cross-site …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pgwp-vc7q-cvj3
- nvd.nist.gov/vuln/detail/CVE-2026-56736
- github.com/thorsten/phpMyFAQ/commit/24b68068747ad632398e3b3bab2989e76e43ef82
- github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-alpha
- github.com/advisories/GHSA-pgwp-vc7q-cvj3
- nvd.nist.gov/vuln/detail/CVE-2026-56736
- cve.org/CVERecord?id=CVE-2026-56736
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.