CVE-2026-56736
HIGH 8.2CVSS 3.1phpMyFAQ has Stored XSS in Admin FAQ Editor via HTML Entity Bypass in Frontend FAQ Submission
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.
- Published
- 24 Sep 2026
- Last modified
- 24 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-pgwp-vc7q-cvj3
- Sources
- NVDJSONOSV GHSA-pgwp-vc7q-cvj3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | thorsten/phpmyfaq | < 4.2.0-alpha | 4.2.0-alpha |
| OSV | Packagist | phpmyfaq/phpmyfaq | < 4.2.0-alpha | 4.2.0-alpha |
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pgwp-vc7q-cvj3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-56736 · ADVISORY
- https://github.com/thorsten/phpMyFAQ/commit/24b68068747ad632398e3b3bab2989e76e43ef82 · WEB
- https://github.com/thorsten/phpMyFAQ · PACKAGE
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-alpha · WEB
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 24 Sep 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 Sep 2026)