Skip to content
OpenAdvisories
High · 7.5 CVE-2026-46359 EUVD-2026-30594GHSA-p9wc-4pjv-rg82GHSA-pm8c-3qq3-72w7

phpMyFAQ - SQL Injection in CurrentUser::setTokenData via Unescaped OAuth Token Fields

Published May 15, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

Description

phpMyFAQ before 4.1.2 contains a sql injection vulnerability in CurrentUser::setTokenData that allows authenticated attackers to execute arbitrary SQL by injecting malicious OAuth token claims. Attackers with Azure AD accounts containing SQL metacharacters in display names or JWT claims can break out of string literals and execute arbitrary database queries.

Affected products

VendorProductAffectedFixed
thorsten phpmyfaq < 4.1.2 4.1.2

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phpmyfaq/phpmyfaq < 4.1.2 4.1.2 GHSA-pm8c-3qq3-72w7
Packagist thorsten/phpmyfaq < 4.1.2 4.1.2 GHSA-pm8c-3qq3-72w7

References