Live threats

All CVEs / thorsten

CVE-2026-56738thorsten phpMyFAQ

High 8.5

Priority
51
CVSS 4.0
8.5
EPSS
—
Auth required
Yes
Published
Sep 24, 2026
Updated
Oct 5, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for phpMyFAQ.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist phpmyfaq/phpmyfaq < 4.1.6 4.1.6 composer require "phpmyfaq/phpmyfaq:^4.1.6"
Packagist thorsten/phpmyfaq < 4.1.6 4.1.6 composer require "thorsten/phpmyfaq:^4.1.6"

Per OSV / GitHub Advisories (GHSA-rw77-vq4g-x3hp). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.