Description
phpMyFAQ before 4.1.2 contains an unauthenticated SQL injection vulnerability in BuiltinCaptcha::garbageCollector() and BuiltinCaptcha::saveCaptcha() methods that interpolate unsanitized User-Agent headers into DELETE and INSERT queries. Unauthenticated attackers can exploit the public GET /api/captcha endpoint by crafting malicious User-Agent headers to perform time-based blind SQL injection, extracting sensitive data including user credentials, admin tokens, and SMTP credentials from the database.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| thorsten | phpmyfaq | < 4.1.2 | 4.1.2 |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- phpMyFAQ <= 4.1.1 - SQL Injection http/cves/2026/CVE-2026-46364.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | phpmyfaq/phpmyfaq | < 4.1.2 | 4.1.2 | GHSA-289f-fq7w-6q2w |
| Packagist | thorsten/phpmyfaq | < 4.1.2 | 4.1.2 | GHSA-289f-fq7w-6q2w |