CVE-2026-34973

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:phpmyfaq:phpmyfaq:4.1.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-04-02 15:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-34973

Mitre link : CVE-2026-34973

CVE.ORG link : CVE-2026-34973


JSON object : View

Products Affected

phpmyfaq

  • phpmyfaq
CWE
CWE-943

Improper Neutralization of Special Elements in Data Query Logic