CVE-2024-28107 · GitHub_M
phpMyFAQ SQL injections at insertentry & saveentry
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. A SQL injection vulnerability has been discovered in the `insertentry` & `saveentry` when modifying records due to improper escaping of the email address. This allows any authenticated user with the rights to add/edit FAQ news to exploit this vulnerability to exfiltrate data, take over accounts and in some cases, even achieve RCE. This vulnerability is fixed in 3.2.6.
Published 2024-03-25, last changed 2026-06-17. Weakness: CWE-89.
How to fix
Upgrade to a fixed version: phpmyfaq/phpmyfaq 3.2.6 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in thorsten/phpMyFAQ by d0fae62a72. Functions changed by the fix: create, update. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2024-03-25 | Published |
| 2024-03-25 | Package advisory GHSA-2grw-mc9r-822r |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.13% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-2grw-mc9r-822r | phpmyfaq/phpmyfaq (Packagist) | 3.2.6 |
Also known as: GHSA-2grw-mc9r-822r
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-56738 | 2026-09-24 | 8.5 | phpMyFAQ has SQL Injection in `StopWords::add()` — Unescaped Stop Word Insertion |
| CVE-2026-56737 | 2026-09-24 | 8.1 | phpMyFAQ's two-factor authentication login bypasses the password factor |
| CVE-2026-56736 | 2026-09-24 | 8.2 | phpMyFAQ has Stored XSS in Admin FAQ Editor via HTML Entity Bypass in Frontend FAQ Submission |
| CVE-2026-57994 | 2026-07-10 | 6.9 | phpMyFAQ - Information Disclosure of Inactive FAQ Content via Public API Endpoints |
| CVE-2026-57961 | 2026-07-10 | 5.1 | phpMyFAQ - Authenticated Path Traversal in PDF Export via concatenatePaths Function |
| CVE-2026-57995 | 2026-06-30 | 8.7 | phpMyFAQ - Privilege Escalation via Missing Self-Rights Constraint in GroupController::updatePermissions |
| CVE-2026-56396 | 2026-06-21 | 8.7 | phpMyFAQ - Privilege Escalation via Missing Authorization in editUser() and updateUserRights() |
| CVE-2026-49205 | 2026-06-18 | 6.5 | phpMyFAQ: Missing userHasPermission() in 4 API write endpoints (CVE-2026-24421 Incomplete Fix) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2024-28107, or call /api/v1/vulnerabilities/CVE-2024-28107. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.