CVE-2026-56738
phpMyFAQ is an open source FAQ web application. The …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/thorsten/phpMyFAQ/commit/d56ef5d75c3c007de095bc4c13b470c7ac783f0f
- github.com/thorsten/phpMyFAQ/security/advisories/GHSA-rw77-vq4g-x3hp
- nvd.nist.gov/vuln/detail/CVE-2026-56738
- github.com/thorsten/phpMyFAQ/releases/tag/4.1.6
- github.com/advisories/GHSA-rw77-vq4g-x3hp
- nvd.nist.gov/vuln/detail/CVE-2026-56738
- cve.org/CVERecord?id=CVE-2026-56738
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.