Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpmyfaq/phpmyfaq
  4. ›
  5. GHSA-gp95-j463-vv28

GHSA-gp95-j463-vv28: phpMyFAQ: Default Empty API Token Authentication Bypass

May 20, 2026

A default empty API client token allows any unauthenticated user to create and modify FAQ entries, categories, and questions via the REST API. The vulnerability exists in all versions since API v4.0 was introduced because the installation process seeds api.apiClientToken with an empty string, and the hasValidToken() comparison logic cannot distinguish between “no token configured” and “attacker sent a matching empty token header.”

References

  • github.com/advisories/GHSA-gp95-j463-vv28
  • github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gp95-j463-vv28

Code Behaviors & Features

Detect and mitigate GHSA-gp95-j463-vv28 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.1.3

Fixed versions

  • 4.1.3

Solution

Upgrade to version 4.1.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-1188: Initialization of a Resource with an Insecure Default

Source file

packagist/phpmyfaq/phpmyfaq/GHSA-gp95-j463-vv28.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:48 +0000.