CVE-2026-56736thorsten phpMyFAQ
High 8.2 No auth needed
Follow: this CVE · thorsten · thorsten phpMyFAQ We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Sep 24, 2026
- Updated
- Sep 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
What happens
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
- Apply the vendor's security update for phpMyFAQ.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | phpmyfaq/phpmyfaq |
< 4.2.0-alpha |
4.2.0-alpha |
composer require "phpmyfaq/phpmyfaq:^4.2.0-alpha" |
| Packagist | thorsten/phpmyfaq |
< 4.2.0-alpha |
4.2.0-alpha |
composer require "thorsten/phpmyfaq:^4.2.0-alpha" |
Per OSV / GitHub Advisories (GHSA-pgwp-vc7q-cvj3). Check the version in your lockfile before upgrading.
Affected products
- thorsten · phpMyFAQ
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.