Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 74%

CVE-2026-34973: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in thorsten phpMyFAQ

0
Medium
VulnerabilityCVE-2026-34973cvecve-2026-34973cwe-943
Published: 04/02/2026 (04/02/2026, 14:47:22 UTC)
Source: CVE Database V5
Vendor/Project: thorsten
Product: phpMyFAQ

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 v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
thorsten/phpMyFAQ
pkg:github/thorsten/phpMyFAQ
Affected versions
<4.1.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/09/2026, 22:42:27 UTC

Technical Analysis

The vulnerability (CVE-2026-34973) in phpMyFAQ affects versions before 4.1.1. The searchCustomPages() method uses real_escape_string() to sanitize input, but this function does not escape SQL LIKE wildcards '%' and '_'. An attacker can exploit this to inject these wildcards into search queries, causing broader matches than intended and leading to information disclosure. This is classified under CWE-943 (Improper Neutralization of Special Elements in Data Query Logic). The vulnerability has a CVSS 4.0 score of 6.9 (medium severity).

Potential Impact

An unauthenticated attacker can manipulate search queries to include SQL LIKE wildcards, resulting in the disclosure of information that was not intended to be accessible through the search functionality. This could expose sensitive or restricted content stored in the FAQ database.

Mitigation Recommendations

Upgrade phpMyFAQ to version 4.1.1 or later, where this vulnerability has been patched. No other mitigation is required as the fix is officially available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-31T19:38:31.616Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69ce8676e6bfc5ba1de33847

Added to database: 04/02/2026, 15:08:38 UTC

Last enriched: 04/09/2026, 22:42:27 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 130

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses