CVE-2026-34973
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| thorsten | phpMyFAQ | < 4.1.1 | affected |
Weaknesses
- CWE-943: CWE-943: Improper Neutralization of Special Elements in Data Query Logic
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: partial
References
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gcp9-5jc8-976x
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.