Skip to main content

phpMyFAQ CVE-2026-35672

| EUVDEUVD-2026-32903 HIGH
Initialization of a Resource with an Insecure Default (CWE-1188)
2026-05-28 VulnCheck GHSA-gp95-j463-vv28
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed phpMyFAQ instance
  2. Delivery
    Send POST to /api/v4.0/faq/create with empty x-pmf-token header
  3. Exploit
    Bypass hasValidToken strict comparison
  4. Execution
    Inject malicious FAQ or category content
  5. Impact
    Stored 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 May 28, 2026 - 15:53 CVSS 7.5

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

phpMyFAQ 0 <4.1.3

Affected Packages

composer phpmyfaq/phpmyfaq fix: 4.1.3
composer thorsten/phpmyfaq fix: 4.1.3
euvd phpmyfaq fix: 4.1.3

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
May 28, 2026 - 17:01 EUVD
Analysis Updated
May 28, 2026 - 16:33 vuln.today
v2 - CVSS changed
CVSS changed
May 28, 2026 - 16:22 NVD
7.5 (HIGH) 8.7 (HIGH)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 76% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-59943 CRITICAL POC
9.8 Oct 03

Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una

CVE-2023-5865 CRITICAL POC
9.8 Oct 31

Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8

CVE-2023-1886 CRITICAL POC
9.8 Apr 05

Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity

CVE-2023-1753 CRITICAL POC
9.8 Mar 31

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t

CVE-2022-3754 CRITICAL POC
9.8 Oct 29

Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th

CVE-2026-46364 CRITICAL POC
9.3 May 15

Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and

CVE-2017-15730 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS

CVE-2017-15808 HIGH POC
8.8 Oct 23

In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2017-15735 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS

CVE-2017-15734 HIGH POC
8.8 Oct 22

In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8

CVE-2024-28107 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

CVE-2024-27299 HIGH POC
8.8 Mar 25

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy