---
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-13'
sourceUpdated: '2026-10-13T14:17:27.180'
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
  - url: >-
      https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-98p2-cg7p-h385
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00338
epssPercentile: 0.27056
ingestedAt: '2026-10-13T00:09:02.612Z'
vendor: thorsten
product: phpMyFAQ
affected:
  - phpMyFAQ < 4.1.9
  - phpMyFAQ >= 4.2.0-alpha < 4.2.0-beta
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-13T13:52:24.348980Z'
---

## 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.
