Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-56736

HIGH 8.2EPSS 21%

phpMyFAQ has Stored XSS in Admin FAQ Editor via HTML Entity Bypass in Frontend FAQ Submission

Also known as GHSA-pgwp-vc7q-cvj3

Mitigation

  • Upgrade thorsten/phpmyfaq to 4.2.0-alpha or later.
  • Upgrade phpmyfaq/phpmyfaq to 4.2.0-alpha or later.

Who should check

  • Projects that depend on Packagist package thorsten/phpmyfaq (< 4.2.0-alpha)
  • Projects that depend on Packagist package phpmyfaq/phpmyfaq (< 4.2.0-alpha)
  • Anyone running thorsten phpMyFAQ < 4.2.0-alpha

Vulnerability facts

Affected
thorsten/phpmyfaq < 4.2.0-alpha; phpmyfaq/phpmyfaq < 4.2.0-alpha
Fixed in
4.2.0-alpha
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.35% chance of exploitation in 30 days (percentile 21, 2026-11-26)
CWE
CWE-79
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Packagist thorsten/phpmyfaq< 4.2.0-alpha4.2.0-alphaosv
Packagist phpmyfaq/phpmyfaq< 4.2.0-alpha4.2.0-alphaosv
thorsten phpMyFAQ< 4.2.0-alpha—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-56736. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-56736.md
Affected: thorsten/phpmyfaq < 4.2.0-alpha; phpmyfaq/phpmyfaq < 4.2.0-alpha
Fixed in: 4.2.0-alpha

Steps:
1. Search this machine and project for thorsten/phpmyfaq (Packagist), phpmyfaq/phpmyfaq (Packagist), thorsten phpMyFAQ: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-56736 being exploited?

There is no confirmed exploitation: CVE-2026-56736 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-56736?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-56736?

thorsten/phpmyfaq < 4.2.0-alpha; phpmyfaq/phpmyfaq < 4.2.0-alpha.

Is there a fix for CVE-2026-56736?

Yes. Fixed in 4.2.0-alpha. Upgrade thorsten/phpmyfaq to 4.2.0-alpha or later. Upgrade phpmyfaq/phpmyfaq to 4.2.0-alpha or later.

How do I check if I'm affected by CVE-2026-56736?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors