# CVE-2026-46359: phpMyFAQ - SQL Injection in CurrentUser::setTokenData via Unescaped OAuth Token Fields

- Severity: High 7.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-06T20:44:39.000Z
- Modified: 2026-11-08T14:03:51.792Z
- Also known as: GHSA-pm8c-3qq3-72w7
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- thorsten phpmyfaq: before 4.1.2 (not affected: 4.1.2)
- thorsten/phpmyfaq (Packagist): before 4.1.2
- phpmyfaq/phpmyfaq (Packagist): before 4.1.2

## Every score

- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- VulnCheck: CVSS:4.0 7.7 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-pm8c-3qq3-72w7> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/phpmyfaq-sql-injection-in-currentuser-settokendata-via-unescaped-oauth-token-fields> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46359> (advisory)
- <https://github.com/thorsten/phpMyFAQ> (package)

## Sources

- CVE List: [CVE-2026-46359](https://www.cve.org/CVERecord?id=CVE-2026-46359), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-pm8c-3qq3-72w7](https://github.com/advisories/GHSA-pm8c-3qq3-72w7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-46359](https://nvd.nist.gov/vuln/detail/CVE-2026-46359), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-46359 · Whole record: https://cve.day/CVE-2026-46359.json · Rebuilt by cve.day 2026-11-25T22:59:21.835Z
