SQL injection in phpMyFAQ - CVE-2026-46359
Published: May 5, 2026 / Updated: September 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL commands.
The vulnerability exists due to SQL injection in CurrentUser::setTokenData() in phpmyfaq/src/phpMyFAQ/User/CurrentUser.php when processing OAuth token fields from the Azure AD authentication flow. A remote attacker can supply crafted token claim data to execute arbitrary SQL commands.
User interaction is required to complete the OAuth login flow, and exploitation requires Azure AD authentication to be enabled.