SQL injection in phpMyFAQ - #VU140883
Published: August 4, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary SQL commands and disclose sensitive information.
The vulnerability exists due to SQL injection in GlossaryRepository::create and GlossaryRepository::update when handling glossary create or update requests. A remote user can submit a specially crafted glossary item and definition to execute arbitrary SQL commands and disclose sensitive information.
The issue is triggered by truncating the escaped glossary item before it is embedded in a quoted SQL literal, which can leave a dangling backslash that causes the definition field to be interpreted as SQL.