SQL injection in phpMyFAQ - #VU130116
Published: May 5, 2026
phpMyFAQ
Detailed vulnerability description
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.