
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-47132 is a SQL LIKE wildcard injection vulnerability in phpMyFAQ's chat user search feature that allows any authenticated user to bypass the intended display-name search filter and enumerate all active users. It affects phpMyFAQ versions prior to 4.2.0-alpha (specifically the main branch up to commit c0b7158df4bfb11d57b1ef7d471760583c9c2fae). The vulnerability was published on August 8, 2026, and added to the GitHub Advisory Database on August 12, 2026. It carries a CVSS v3.1 base score of 5.4 (Medium) (GitHub Advisory).
The root cause is improper input validation (CWE-20) and insufficient neutralization of SQL LIKE metacharacters (CWE-89) in phpmyfaq/src/phpMyFAQ/Chat.php. The searchUsers() method calls escape() on user-supplied input, which prevents SQL string breakout but does not escape the % and _ LIKE wildcard characters. These unescaped characters are then embedded directly into a LIKE '%%%s%%' clause in the SQL query, allowing an attacker to craft queries that match all active users. Notably, the phpMyFAQ codebase already implements a safer pattern using ESCAPE '|' with wildcard escaping in other code paths, but this was not applied to the chat search endpoint. A public PoC is included in the advisory, demonstrating exploitation via URL-encoded wildcard payloads (GitHub Advisory, Fix Commit).
Successful exploitation allows any authenticated user to enumerate all active user IDs and display names in the phpMyFAQ instance, bypassing the intended search filter. This may expose internal user identities, staff names, department names, or other sensitive account information depending on the deployment context (CWE-200). There is no direct availability impact, and while the integrity impact is rated low, the primary risk is unauthorized disclosure of user account data that could facilitate further targeted attacks such as phishing or credential stuffing (GitHub Advisory).
A working proof-of-concept is publicly available and included in the GitHub Security Advisory, including a video demonstration. Exploitation requires only a valid authenticated session — no elevated privileges are needed. The CVE status is currently listed as "Reserved" and there is no evidence of in-the-wild exploitation, threat actor attribution, or CISA KEV catalog listing at this time. No EPSS score is currently published (GitHub Advisory).
GET /api/chat/users?q=zz HTTP/1.1
Host: target
Cookie: [authenticated session]%% (decoded: %%) to trigger the wildcard match against all active users:GET /api/chat/users?q=%25%25 HTTP/1.1
Host: target
Cookie: [authenticated session]__ (two underscores) to match any two-character display names:GET /api/chat/users?q=__ HTTP/1.1
Host: target
Cookie: [authenticated session]_ patterns (e.g., _____ for five-character names) to narrow results and systematically enumerate users by name length (GitHub Advisory)./api/chat/users with q parameter values containing %25%25, %%, __, or sequences of underscores from a single authenticated session./api/chat/users?q=%25%25 or /api/chat/users?q=__; unusually high volume of chat user search API calls from a single user account in a short time window.The fix is available in phpMyFAQ 4.2.0-alpha (commit bd4b08b). The patch escapes LIKE metacharacters (%, _, and |) before interpolation and adds ESCAPE '|' to the SQL LIKE clause, consistent with the safer pattern already used elsewhere in the codebase. Administrators should upgrade to phpMyFAQ 4.2.0-alpha or later immediately. No configuration-based workaround is available; upgrading is the only remediation (Fix Commit, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."