CVE-2026-34973 in Phpmyfaq
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 % ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Phpmyfaq | Phpmyfaq | 4.1.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-34973 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-151392-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Published | 2026-04-02 |
| Last modified | 2026-07-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-943: CWE-943
Related attack patterns (CAPEC)
CAPEC-676 NoSQL Injection via CWE-943
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in phpMyFAQ prior to version 4.1.1 allows unauthenticated attackers to perform SQL injection via the searchCustomPages() method due to improper handling of SQL LIKE metacharacters.
The vulnerability arises from the use of real_escape_string() for sanitizing search terms in the searchCustomPages() method. This function does not escape SQL LIKE metacharacters (% and _), which can be exploited to manipulate SQL queries.
Questions
What is CVE-2026-34973?
A vulnerability in phpMyFAQ prior to version 4.1.1 allows unauthenticated attackers to perform SQL injection via the searchCustomPages() method due to improper handling of SQL LIKE metacharacters.
What is the CVSS score for CVE-2026-34973?
CVE-2026-34973 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. EPSS: 0.4%.
Is CVE-2026-34973 actively exploited?
No confirmed active exploitation of CVE-2026-34973 as of 2026-07-25.
How do I remediate CVE-2026-34973?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2026-34973?
CVE-2026-34973 affects Phpmyfaq Phpmyfaq.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Phpmyfaq","product":"Phpmyfaq","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-24.