CVE Catalog

CVE-2026-56738

HighCVSS 8.5
Published: Updated: Translated: NVD NIST

Summary

phpMyFAQ before 4.1.6 has a vulnerability in the StopWords::add() method that builds a SQL INSERT statement using sprintf() and inserts the user-supplied stop word value directly into the query without calling the database escaping function. An authenticated administrator can submit a crafted value that breaks out of the SQL string literal and injects arbitrary SQL, including dropping tables, exfiltrating data, or modifying other rows.

Risk Assessment

The risk includes full database compromise, including data loss and unauthorized access to sensitive information.

Recommendation

Upgrade phpMyFAQ to version 4.1.6, which fixes this vulnerability.

Other vulnerabilities in phpMyFAQ

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS