Skip to content
OpenAdvisories
Critical · 9.8 Scanner template CVE-2026-46364 EUVD-2026-30601GHSA-289f-fq7w-6q2wGHSA-ch9q-c9mp-j5gq

phpMyFAQ - SQL Injection via User-Agent Header in BuiltinCaptcha

Published May 15, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
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.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
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

References