{"id":"CVE-2026-46359","published":"2026-05-15T18:36:38Z","modified":"2026-11-08T14:03:51Z","title":"phpMyFAQ - SQL Injection in CurrentUser::setTokenData via Unescaped OAuth Token Fields","vendor":"thorsten","product":"phpmyfaq","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00264,"percentile":0.18667,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pm8c-3qq3-72w7","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/phpmyfaq-sql-injection-in-currentuser-settokendata-via-unescaped-oauth-token-fields","tags":["third-party-advisory"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.73},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"thorsten","affectedVersions":[{"vendor":"thorsten","product":"phpmyfaq","versions":["< 4.1.2"]}],"fixedVersions":[{"vendor":"thorsten","product":"phpmyfaq","versions":["4.1.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-15T21:12:51.070439Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"thorsten/phpmyfaq","vulnerableRanges":["<4.1.2"],"patched":["4.1.2"],"from":["GHSA-pm8c-3qq3-72w7"],"provenance":"source"},{"ecosystem":"Packagist","package":"phpmyfaq/phpmyfaq","vulnerableRanges":["<4.1.2"],"patched":["4.1.2"],"from":["GHSA-pm8c-3qq3-72w7"],"provenance":"source"}],"summary":{"text":"phpMyFAQ before 4.1.2 contains an SQL injection flaw in the CurrentUser::setTokenData component, where OAuth token fields are placed into database queries without being escaped. An attacker who holds an Azure AD account with SQL metacharacters in its display name or JWT claims can break out of string literals to run arbitrary database queries, which requires a victim to take an action (user interaction) and the attacker to have the ability to sign in.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:15Z"},"euvd":{"id":"EUVD-2026-30594","exploited":false,"provenance":"source"}}