Read the docs
TI-2026-40911 Aliases CVE-2026-56738GHSA-rw77-vq4g-x3hp

phpMyFAQ has SQL Injection in `StopWords::add()` — Unescaped Stop Word Insertion

Priority LOW 36CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

phpMyFAQ is an open source FAQ web application. The `StopWords::add()` method inversions prior to 4.1.6 builds a SQL `INSERT` statement using `sprintf()` and inserts the user-supplied stop word value directly into the query string without calling the application's database escaping function on it. A sibling method, `StopWords::update()`, which modifies an existing stop word, correctly escapes the same kind of input. The omission is isolated to the `add()` (insert) code path. An authenticated administrator who can reach the stop-word management feature can submit a crafted value as the "word" parameter that breaks out of the SQL string literal and injects arbitrary SQL, including statements to drop tables, exfiltrate data, or modify other rows in the database. Version 4.1.6 fixes the issue.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00261 17th percentileScored 2026-11-07
Fix Fixed phpMyFAQ (thorsten): 4.1.6phpmyfaq/phpmyfaq (Packagist): 4.1.6+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
thorstenphpMyFAQbefore 4.1.64.1.6Patch availableCNA
—phpmyfaq/phpmyfaq (Packagist)before 4.1.64.1.6Patch availableGHSA-rw77-vq4g-x3hp
—thorsten/phpmyfaq (Packagist)before 4.1.64.1.6Patch availableGHSA-rw77-vq4g-x3hp
  • phpMyFAQ Vendorthorsten Affected before 4.1.6 Fixed in 4.1.6 Patch available CNA
  • phpmyfaq/phpmyfaq (Packagist) Vendor— Affected before 4.1.6 Fixed in 4.1.6 Patch available GHSA-rw77-vq4g-x3hp
  • thorsten/phpmyfaq (Packagist) Vendor— Affected before 4.1.6 Fixed in 4.1.6 Patch available GHSA-rw77-vq4g-x3hp

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*——thorsten
  • cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:* Versions — — ·thorsten

Remediation

  • Fix · CNA phpMyFAQ (thorsten) Fixed in 4.1.6
  • Fix · GHSA-rw77-vq4g-x3hp phpmyfaq/phpmyfaq (Packagist) Fixed in 4.1.6 Advisory →
  • Fix · GHSA-rw77-vq4g-x3hp thorsten/phpmyfaq (Packagist) Fixed in 4.1.6 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-56738
  2. 2026-10-03 Alias added: GHSA-rw77-vq4g-x3hp
  3. 2026-10-05 CISA SSVC decision points changed

References

  • TI-2023-00296 Improper Authentication in thorsten/phpmyfaq CVSS 3.1CRITICAL 9.8
  • TI-2026-76118 Authentication bypass in phpMyFAQ via WebAuthn credential injection CVSS 4.0CRITICAL 9.3
  • TI-2026-32868 phpMyFAQ - Unauthenticated Two-Factor Authentication Brute-Force via /admin/check Endpoint CVSS 4.0CRITICAL 9.3
  • TI-2026-76108 Unauthenticated denial of service in phpMyFAQ API pagination CVSS 4.0HIGH 8.7
  • TI-2026-53313 phpMyFAQ 3.1.0 through 4.1.6 Authentication Bypass via LDAP CVSS 4.0HIGH 8.8
  • TI-2026-34083 phpMyFAQ - Unauthenticated Information Disclosure via getIdFromSolutionId Permission Bypass CVSS 4.0HIGH 8.7
See all 224 →

Sources