CVE-2026-56738: phpMyFAQ has SQL Injection in `StopWords::add()` — Unescaped Stop Word Insertion
Vulnerability summary
CVE-2026-56738 is a high (CVSS 8.5) SQL Injection vulnerability in thorsten phpmyfaq. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.8% of scored vulnerabilities.
Timeline
- 24-09-2026PublishedVulnerability first disclosed.
- 05-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST8.5HighCVSS: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
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Thorsten1 product
- phpmyfaq< 4.1.6
1 vendor · 1 product
References
2 links- github.com/thorsten/phpMyFAQ/security/advisories/GHSA-rw77-vq4g-x3hpX Refsource CONFIRM