---
id: CVE-2026-109573
title: >-
  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
summary: >-
  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 attacke…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T23:17:22.680'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109573'
references:
  - url: >-
      https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98p2-cg7p-h385
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/phpmyfaq-before-4.1.9-sql-injection-via-api-autocomplete-search-endpoint
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-13T00:09:02.612Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
