CVE-2026-56736
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
thorsten/phpmyfaqPackagist | < 4.2.0-alpha | 4.2.0-alpha |
phpmyfaq/phpmyfaqPackagist | < 4.2.0-alpha | 4.2.0-alpha |
Affected products
3- Range: <4.2.0-alpha
- ghsa-coords2 versions
< 4.2.0-alpha+ 1 more
- (no CPE)range: < 4.2.0-alpha
- (no CPE)range: < 4.2.0-alpha
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-pgwp-vc7q-cvj3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-56736ghsaADVISORY
- github.com/thorsten/phpMyFAQ/commit/24b68068747ad632398e3b3bab2989e76e43ef82ghsaWEB
- github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-alphaghsaWEB
- github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pgwp-vc7q-cvj3nvdWEB
News mentions
0No linked articles in our index yet.