Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Phpmyfaq | Phpmyfaq | 4.1.0 |
Related Weaknesses (CWE)
References
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1Product
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gcp9-5jc8-976xExploitVendor AdvisoryMitigation
FAQ
What is CVE-2026-34973?
CVE-2026-34973 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 sear...
How severe is CVE-2026-34973?
CVE-2026-34973 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-34973?
Check the references section above for vendor advisories and patch information. Affected products include: Phpmyfaq Phpmyfaq.