CVE-2026-34973

Medium

Description

phpMyFAQ is an open source FAQ web application. Prior to version 4.1.1, the searchCustomPages() method in phpmyfaq/src/phpMyFAQ/Search.php uses real_escape_string() (via escape()) to sanitize the search term before embedding it 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 — including content that was not meant to be surfaced — resulting in information disclosure. This issue has been patched in version 4.1.1.

SeverityMedium
CVSS5.3
Exploit probability29. percentile0.3%
ProductPhpmyfaq
PublishedApr 2, 2026
First seenApr 2, 2026
Weakness typeCWE-943CWE-943

How to fix

Update
  • thorsten/phpmyfaq4.1.1 or later

Affected products

ProductAffected versionsFixed in
phpmyfaq phpmyfaq4.1.0—
thorsten/phpmyfaqPackagistv < 4.1.14.1.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.