Vulnerability in Phpmyfaq
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.
EPSS: 0.003 (26.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Phpmyfaq — versions 4.1.0
- Thorsten Phpmyfaq — versions < 4.1.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Mitigation, Vendor Advisory)
- security-advisories@github.com (Product, x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-34973?
- CVE-2026-34973 is a medium-severity vulnerability in Phpmyfaq, classified under Improper Neutralization of Special Elements in Data Query Logic. CVSS score: 5.3/10. Published 2026-04-02.
- How severe is CVE-2026-34973?
- Medium severity. CVSS v3 base score is 5.3 out of 10.