PT-2026-44383 · Phpmyfaq · Phpmyfaq

Guayu-Kakeru

·

Published

2026-05-20

·

Updated

2026-05-28

·

CVE-2026-35672

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions phpMyFAQ versions prior to 4.1.3
Description An authentication bypass exists in API v4.0 due to the installation process seeding the api.apiClientToken variable with an empty string by default. The hasValidToken() function uses strict inequality to compare the configured token with the x-pmf-token header; when both are empty, the check evaluates to false, allowing unauthenticated access. This allows attackers to inject malicious content, such as phishing links or SEO spam, by creating or modifying FAQ entries, categories, and questions.
Technical details include the following affected POST and PUT endpoints:
  • '/api/v4.0/faq/create'
  • '/api/v4.0/faq/update'
  • '/api/v4.0/category'
  • '/api/v4.0/question'
The vulnerable variable used for token validation is x-pmf-token.
Recommendations Update to version 4.1.3 or later. As a temporary workaround, explicitly configure a non-empty value for the api.apiClientToken in the system settings to ensure the authentication check cannot be bypassed with an empty header.

Exploit

Fix

Weakness Enumeration

Related Identifiers

CVE-2026-35672
GHSA-GP95-J463-VV28

Affected Products

Phpmyfaq