CVE-2026-109573 Details
Description
phpMyFAQ before 4.1.9 contains an SQL injection vulnerability in PdoMysql::escape(), which escapes single quotes with backslashes that are treated literally when MySQL or MariaDB runs in NO_BACKSLASH_ESCAPES mode. Unauthenticated attackers can send a Unicode right single quotation mark in the search parameter of api/autocomplete, which is normalized to an ASCII quote, to read credentials and configuration secrets, modify records, or drop tables.
A SQL injection vulnerability has been identified in phpMyFAQ versions prior to 4.1.9. The issue arises in the PdoMysql::escape() method, which improperly escapes single quotes by adding backslashes. This creates a vulnerability when MySQL or MariaDB is configured with NO_BACKSLASH_ESCAPES mode, as the backslashes are treated literally and the single quotes can terminate SQL string literals, leading to injection. Unauthenticated attackers can exploit this by sending a Unicode right single quotation mark in the search parameter of the api/autocomplete endpoint. The injected SQL can be used to read sensitive data such as credentials and configuration secrets, modify records, or delete tables.
As of now, there is no official patch available for this vulnerability. However, an interim mitigation is to ensure that the MySQL or MariaDB server does not operate with NO_BACKSLASH_ESCAPES in its SQL mode.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 12, 2026CISA-ADP
Assessed Oct 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98p2-cg7p-h385 | CISA-ADP | AdvisoryExploitTechnical AnalysisVendor |
| https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98p2-cg7p-h385 | [email protected] | AdvisoryExploitTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.9-sql-injection-via-api-autocomplete-search-endpoint | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| phpMyFAQ | <= 4.1.8 (semver) < 4.2.0-beta, >= 4.2.0-alpha (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Modified | CISA-ADP |
| Oct 12, 2026 | New CVE Received | [email protected] |
Volerion