PT-2026-29784 · Phpmyfaq · Phpmyfaq
Athuljayaram
·
Published
2026-04-01
·
Updated
2026-04-02
·
CVE-2026-34973
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
phpMyFAQ versions prior to 4.1.1
Description
pMyFAQ is an open source FAQ web application. The
searchCustomPages() method in phpmyfaq/src/phpMyFAQ/Search.php uses real escape string() to sanitize search terms before embedding them in LIKE clauses. However, real escape string() does not escape SQL LIKE metacharacters % (match any sequence) and (match any single character). An unauthenticated attacker can inject these wildcards into search queries, causing them to match unintended records, resulting in information disclosure. The vulnerable code is located in phpmyfaq/src/phpMyFAQ/Search.php, lines 226–240. The attack vector involves submitting a search term containing or % as part of a word with a length of 3 or more characters, bypassing a length filter. For example, a search for % can match all custom pages. This allows an attacker to retrieve custom page content that would not appear in normal searches.Recommendations
Update phpMyFAQ to version 4.1.1 or later.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Phpmyfaq