{"id":"CVE-2026-34973","published":"2026-04-02T14:47:22Z","modified":"2026-04-03T18:24:15Z","title":"phpMyFAQ has a LIKE Wildcard Injection in Search.php — Unescaped % and _ Metacharacters Enable Broad Content Disclosure","vendor":"thorsten","product":"phpMyFAQ","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00357,"percentile":0.30188,"provenance":"source"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gcp9-5jc8-976x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.04},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"thorsten","affectedVersions":[{"vendor":"thorsten","product":"phpMyFAQ","versions":["< 4.1.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-03T18:23:50.930157Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"thorsten/phpmyfaq","vulnerableRanges":["<4.1.1"],"patched":["4.1.1"],"from":["GHSA-gcp9-5jc8-976x"],"provenance":"source"}],"summary":{"text":"phpMyFAQ, an open source FAQ web application, contains a flaw in the searchCustomPages() method of its Search.php component (phpmyfaq/src/phpMyFAQ/Search.php) prior to version 4.1.1, where search terms are escaped with real_escape_string() but the SQL LIKE metacharacters % and _ are left unescaped in LIKE clauses. An unauthenticated remote attacker with network access can exploit this without user interaction by injecting these wildcards into search queries, causing matches against unintended records and disclosing content that was not meant to be surfaced.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:34Z"},"euvd":{"id":"EUVD-2026-18330","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-24422","published":"2026-01-24","fixed":"4.0.17","kev":false},{"cve":"CVE-2026-27836","published":"2026-02-27","fixed":"4.0.18","kev":false,"link":{"from":"CVE-2026-27836","to":"CVE-2026-34973","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:thorsten/phpmyfaq","fromFixed":"4.0.18","toFixed":"4.1.1","daysApart":34}]}},{"cve":"CVE-2026-32629","published":"2026-04-02","fixed":"4.1.1","kev":false},{"cve":"CVE-2026-34973","published":"2026-04-02","fixed":"4.1.1","kev":false},{"cve":"CVE-2026-34974","published":"2026-04-02","fixed":"4.1.1","kev":false},{"cve":"CVE-2026-45007","published":"2026-05-15","fixed":"4.1.2","kev":false},{"cve":"CVE-2026-45008","published":"2026-05-15","fixed":"4.1.2","kev":false}],"package":"Packagist:thorsten/phpmyfaq"}}