Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed phpMyFAQ instance
-
DeliverySend POST to /api/v4.0/faq/create with empty x-pmf-token header
-
ExploitBypass hasValidToken strict comparison
-
ExecutionInject malicious FAQ or category content
-
ImpactStored payload served to admins and visitors
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V13 - Configuration Secure default settings
|
| Exploitation Conditions | Exploitation requires only that the target run phpMyFAQ <= 4.1.2 with the REST API v4.0 enabled (api.enableAccess=true, which is the installer default) and that api.apiClientToken still holds its default empty-string value seeded by DefaultDataSeeder.php. No user interaction, no authentication, and no non-default configuration are needed - the attacker just submits an HTTP request to one of the four write endpoints with an empty x-pmf-token header. The realistic limiter is administrators who manually rotated api.apiClientToken to a non-empty value after install, which closes the bypass even on vulnerable code; installs reachable only on internal networks are also out of scope for opportunistic attackers. |
| Impact | All signals point to this being a real priority for any internet-exposed phpMyFAQ install. CVSS 4.0 of 8.7 with AV:N/AC:L/AT:N/PR:N/UI:N and VI:H aligns precisely with the description - fully remote, unauthenticated, low complexity, high integrity impact (no confidentiality or availability impact, consistent with content injection rather than RCE or data theft). EPSS, KEV status, and SSVC decision data were not provided in the input, so prioritization based on observed exploitation cannot be made; however, the trivial exploitability (single empty header) and default-on nature mean automated abuse is plausible once the GHSA writeup is widely indexed. The vulnerability affects default configurations rather than edge cases, which increases the realistic attack surface beyond what a high CVSS alone would suggest. |
| Exploit ScenarioDerived | An attacker discovers an internet-facing phpMyFAQ install (e.g., via Shodan or favicon hashing), sends a POST to /api/v4.0/faq/create with an empty x-pmf-token header, and injects an FAQ entry containing SEO spam, phishing links, or stored XSS payloads that will execute against admins or visitors. With the same primitive they can mass-create categories and questions to deface the knowledge base or seed content for downstream social-engineering campaigns. The GHSA advisory publishes a step-by-step PoC against a default 4.2.0-alpha install, making weaponization trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – May 28, 2026
Authentication bypass in phpMyFAQ versions prior to 4.1.3 lets remote unauthenticated attackers create and modify FAQ entries, categories, and questions through the REST API v4.0 by submitting an empty x-pmf-token header that matches the default empty api.apiClientToken value. The flaw stems from strict string comparison logic that cannot distinguish an unconfigured token from an attacker-supplied empty one, exposing every default installation. No public exploit identified at time of analysis, but the GHSA advisory includes a detailed proof-of-concept walkthrough.
Earlier versions of this analysis (1)
Unauthenticated FAQ/category/question manipulation in phpMyFAQ versions prior to 4.1.3 stems from the API v4.0 shipping with an empty default api.apiClientToken, which a strict-inequality comparison treats as a valid match when an attacker sends an empty x-pmf-token header. Remote attackers can inject or modify content via POST/PUT endpoints under /api/v4.0/ without any credentials. No public exploit is identified at time of analysis, but a detailed proof-of-concept is published in the GHSA advisory (GHSA-gp95-j463-vv28).
RemediationAI
Vendor-released patch: upgrade phpMyFAQ to 4.1.3 or later, which corrects the seeded default and the comparison logic per the GHSA-gp95-j463-vv28 advisory (https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gp95-j463-vv28). If immediate upgrade is not possible, set api.apiClientToken to a long random secret in the admin configuration so the strict comparison no longer accepts an empty header - this is the lowest-impact workaround and breaks only existing API clients that were relying on the (insecure) empty token. Alternatively, block POST /api/v4.0/faq/create, PUT /api/v4.0/faq/update, POST /api/v4.0/category, and POST /api/v4.0/question at the reverse proxy or WAF, or disable the REST API entirely by setting api.enableAccess to false; both options disable legitimate API-driven content management until reverted.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
phpMyFAQ is a widely deployed open-source PHP FAQ management system (CPE cpe:2.3:a:thorsten:phpmyfaq) maintained by Thorsten Rinne. The defect maps to CWE-1188 (Insecure Default Initialization of a Resource): the installer's DefaultDataSeeder.php seeds the api.apiClientToken configuration value with an empty string, and AbstractController::hasValidToken() uses a strict ! comparison against the inbound x-pmf-token HTTP header. Because '' ! '' evaluates false, the default empty token both satisfies the comparison and bypasses the only authentication guard protecting POST /api/v4.0/faq/create, PUT /api/v4.0/faq/update, POST /api/v4.0/category, and POST /api/v4.0/question - endpoints the OpenAPI annotations explicitly mark as authenticated.
Know when Phpmyfaq gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
phpMyFAQ before 4.1.3 contains an authentication bypass vulnerability in API v4.0 where the default empty api.apiClientToken allows unauthenticated users to create and modify FAQ entries. Attackers can send an empty x-pmf-token header to bypass token validation and inject malicious content via POST endpoints /api/v4.0/faq/create, /api/v4.0/category, and /api/v4.0/question.
Executive ViewAI
phpMyFAQ installations running versions prior to 4.1.3 are vulnerable to unauthenticated remote modification of FAQ content through an API token validation bypass affecting default configurations. While no public exploit identified at time of analysis, the straightforward attack vector and direct impact on content integrity create significant risk of unauthorized modification and potential system defacement affecting organizational credibility and compliance.
No vendor-released patch identified at time of analysis. Implement: (1) restrict network access to REST API v4.0 endpoints via firewall or reverse proxy; (2) enforce non-empty api.apiClientToken configuration across all deployments; (3) deploy Web Application Firewall rules to reject requests with empty x-pmf-token headers; (4) disable REST API v4.0 functionality if not actively required for business operations; (5) establish continuous monitoring of API endpoints for suspicious modification requests and log anomalies for incident response review.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una
Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8
Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th
Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS
In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
EUVD-2026-32903
GHSA-gp95-j463-vv28
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB