# CVE-2026-56736: phpMyFAQ has Stored XSS in Admin FAQ Editor via HTML Entity Bypass in Frontend FAQ Submission

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-24T14:21:17.025Z
- Modified: 2026-09-24T19:45:04.984Z
- Also known as: GHSA-pgwp-vc7q-cvj3
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- thorsten phpMyFAQ: < 4.2.0-alpha
- thorsten/phpmyfaq (Packagist): before 4.2.0-alpha
- phpmyfaq/phpmyfaq (Packagist): before 4.2.0-alpha

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pgwp-vc7q-cvj3> (exploit, 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)

## Sources

- CVE List: [CVE-2026-56736](https://www.cve.org/CVERecord?id=CVE-2026-56736), CVE Terms of Use, modified 2026-09-24
- GitHub Advisory Database: [GHSA-pgwp-vc7q-cvj3](https://github.com/advisories/GHSA-pgwp-vc7q-cvj3), CC-BY-4.0, modified 2026-09-24
- NVD: [CVE-2026-56736](https://nvd.nist.gov/vuln/detail/CVE-2026-56736), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-56736 · Whole record: https://cve.day/CVE-2026-56736.json · Rebuilt by cve.day 2026-11-25T22:59:40.763Z
