Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
thorsten phpMyFAQ
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

phpMyFAQ 是一个开源的 FAQ 网站应用程序。在 4.2.0-alpha 之前的版本中存在一个存储型跨站脚本(XSS)漏洞,该漏洞允许任何未经身份验证的用户(或低权限注册用户)注入任意 JavaScript 代码,当管理员查看或编辑用户提交的 FAQ 条目时,这些脚本会在管理员的浏览器中执行。这会导致会话劫持,进而导致管理员账户被接管。漏洞的存在是因为 函数在 函数已经对 HTML 实体进行过滤后,仍将这些实体转换为可执行的 HTML。此外,管理员模板使用 Twig 的 过滤器渲染内容时,并未对输出进行任何

CVSS 8.2 · High EPSS 0.24% · P14

Affected Version Matrix 1

VendorProduct Version RangeStatus
thorsten phpMyFAQ < 4.2.0-alpha affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56736

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
phpMyFAQ has Stored XSS in Admin FAQ Editor via HTML Entity Bypass in Frontend FAQ Submission
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
thorsten phpMyFAQ < 4.2.0-alpha -

II. Public POCs for CVE-2026-56736

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-56736

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-56736 (1)

Same Patch Batch · thorsten · 2026-09-24 · 4 CVEs total

CVE-2026-56738 8.5 HIGH phpMyFAQ has SQL Injection in `StopWords::add()` — Unescaped Stop Word Insertion
CVE-2026-56737 8.1 HIGH phpMyFAQ's two-factor authentication login bypasses the password factor
CVE-2026-47132 5.4 MEDIUM phpMyFAQ: SQL LIKE Wildcard Injection in Chat User Search Allows Authenticated User Enumer

IV. Related Vulnerabilities

V. Comments for CVE-2026-56736

No comments yet


Leave a comment