CVE-2026-34973

phpMyFAQ is an open source FAQ web application. Prior to version 4.1.1, the searchCustomPages() method in phpmyfaq/src/phpMyFAQ/Search.php uses real_escape_string() (via escape()) to sanitize the search term before embedding it in LIKE clauses. However, real_escape_string() does not escape SQL LIKE metacharacters % (match any sequence) and _ (match any single character). An unauthenticated attacker can inject these wildcards into search queries, causing them to match unintended records — including content that was not meant to be surfaced — resulting in information disclosure. This issue has been patched in version 4.1.1.
Configurations

Configuration 1 (hide)

cpe:2.3:a:phpmyfaq:phpmyfaq:4.1.0:*:*:*:*:*:*:*

History

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) phpMyFAQ es una aplicación web de preguntas frecuentes de código abierto. Antes de la versión 4.1.1, el método searchCustomPages() en phpmyfaq/src/phpMyFAQ/Search.php utiliza real_escape_string() (a través de escape()) para sanear el término de búsqueda antes de incrustarlo en cláusulas LIKE. Sin embargo, real_escape_string() no escapa los metacaracteres SQL LIKE % (coincide con cualquier secuencia) y _ (coincide con cualquier carácter único). Un atacante no autenticado puede inyectar estos comodines en las consultas de búsqueda, haciendo que coincidan con registros no deseados -incluido contenido que no estaba destinado a ser revelado- lo que resulta en revelación de información. Este problema ha sido parcheado en la versión 4.1.1.

17 Jun 2026, 10:39

Type Values Removed Values Added
References () https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gcp9-5jc8-976x - Exploit, Vendor Advisory, Mitigation () https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gcp9-5jc8-976x - Exploit, Mitigation, Vendor Advisory

06 Apr 2026, 16:11

Type Values Removed Values Added
First Time Phpmyfaq phpmyfaq
Phpmyfaq
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:phpmyfaq:phpmyfaq:4.1.0:*:*:*:*:*:*:*
References () https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1 - () https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1 - Product
References () https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gcp9-5jc8-976x - () https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gcp9-5jc8-976x - Exploit, Vendor Advisory, Mitigation

02 Apr 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-02 15:16

Updated : 2026-07-24 21:10


NVD link : CVE-2026-34973

Mitre link : CVE-2026-34973

CVE.ORG link : CVE-2026-34973


JSON object : View

Products Affected

phpmyfaq

  • phpmyfaq
CWE
CWE-943

Improper Neutralization of Special Elements in Data Query Logic