Skip to main content

phpMyFAQ CVE-2026-130349

| EUVDEUVD-2026-126798 MEDIUM
Incorrect Authorization (CWE-863)
2026-11-17 VulnCheck GHSA-r534-7353-hrf9
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain scoped editor account and shared API token
  2. Exploit
    Send PUT faq/update or POST category via public REST API
  3. Execution
    Global permission check passes, scope check absent
  4. Impact
    Rewrite out-of-scope published FAQs or create root categories

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a specific phpMyFAQ 4.2 configuration: security.permLevel set to 'medium' (for category- and language-scoped group grants) or 'basic' (for language-scoped grants), with the attacker holding a scoped right such as edit_faq, add_faq, or addcateg restricted to a category and/or language. The attacker must also possess the shared API client token (api.apiClientToken, sent as x-pmf-token) - the same token every API integration uses - and the REST API must be enabled (api.enableAccess = true, which is the default). The flaw is in the public REST write endpoints PUT /api/v4.0/faq/update, POST /api/v4.0/faq/create, and POST /api/v4.0/category, which call only the global userHasPermission() and never the scoped userHasPermissionForCategories()/userHasPermissionForLanguage() checks. Limiting factors: the attacker must already be an authenticated, deliberately scope-restricted editor and must hold the shared API token, so this is not anonymous remote exploitation; impact is integrity-only (content/category manipulation); and installations using permLevel other than medium/basic or not using scoped grants are not affected (4.1.x is not affected at all, as it has no scoped rights).

Impact

This is a medium-severity authorization bypass (CWE-863) that is a real but bounded operational concern, not a high-urgency emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows a network-reachable, low-complexity flaw, but PR:L is decisive: exploitation requires an attacker who already holds a scoped editor grant AND the shared API client token, so this is an insider/privilege-scope-escalation issue rather than an anonymous remote compromise. Impact is integrity-only (VI:L; VC:N/VA:N) - attackers can rewrite published content and create categories, but cannot read secrets or deny service. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a moderate priority. No CISA KEV listing and no EPSS score are provided in the input, so there is no signal of active or widespread exploitation; absence of these is not evidence of safety but does argue against emergency treatment. The advisory includes detailed HTTP reproduction steps plus a standalone mechanism PoC that replays the exact permission SQL, so the weakness is well-documented, though no verified end-to-end weaponized exploit against a booted instance is claimed. Net: a legitimate scope-enforcement defect worth patching on a normal cycle, elevated by the fact that the required API token is shared across every integration, which widens who effectively qualifies as an 'authorized' actor.

Exploit ScenarioDerived

A content editor at an organization is deliberately restricted to one category and the German language, but is also handed the organization's shared API client token (the same token every integration uses). Using that token and their own logged-in session, they send a PUT /api/v4.0/faq/update that rewrites a live, published English FAQ in a category they were explicitly denied - for example replacing a password-reset answer with a link to an attacker-controlled site - and the public REST endpoint returns 200 even though the admin API returns 403 for the same action. The advisory supplies working HTTP request examples and a mechanism PoC script, though no verified standalone weaponized exploit is published.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 17, 2026

Category- or language-scoped editors in phpMyFAQ 4.2.0-alpha.2 through 4.2.0-RC.2 can escape their assigned scope through the public REST write endpoints PUT /api/v4.0/faq/update, POST /api/v4.0/faq/create and POST /api/v4.0/category, because those routes check only the global userHasPermission() and never the scoped category/language checks the admin API applies. An attacker who already holds a deliberately restricted edit_faq, add_faq or addcateg grant plus the shared API client token can rewrite live published FAQs and create active root categories outside their permitted categories and languages; the same requests through the admin API return 403, and 4.1.x is unaffected because it has no scoped rights. Impact is integrity-only with no public exploit identified at time of analysis, and exploitation requires a specific configuration: security.permLevel set to medium (category and language scoping) or basic (language scoping) with permission scoping actually in use and api.enableAccess left at its default of enabled.

RemediationAI

Upgrade phpMyFAQ to 4.2.0-RC.2, the version in which the public REST endpoints are brought in line with the admin API scope checks, per the release tag at https://github.com/thorsten/phpMyFAQ/releases/tag/4.2.0-RC.2 and the advisory at https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-5jwr-95r2-5ch5; the package data lists vulnerable <= 4.2.0-RC.1 fixed in 4.2.0-RC.2, and since 4.2.0-RC.2 is described as the fixed release, sites tracking the 4.2 pre-release line should move to that build or later, and 4.1.x installations need no change for this issue. Because exploitation requires a scoped grant plus the shared api.apiClientToken, treat that token as sensitive. The available sources do not document workarounds beyond updating, so any interim compensating measures such as disabling REST access with api.enableAccess, or avoiding scoped grants at medium/basic permLevel, should be validated against the vendor advisory before being relied upon, with the trade-off that turning off api.enableAccess breaks every API integration that shares the token.

Affected VersionsENISA

phpMyFAQ 4.2.0-alpha.2 <4.2.0-RC.2

Affected Packages

euvd phpmyfaq fix: 4.2.0-RC.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-863, incorrect authorization, in phpMyFAQ's permission abstraction. In MediumPermission, hasPermission() resolves to checkUserGroupRight() || checkUserRight(), and neither query consults the faqgroup_right_category or faqgroup_right_language tables, so a group grant that is restricted to a category or language still satisfies the global check; the scoped logic lives only in hasPermissionForCategory() and hasPermissionForLanguage(). BasicPermission behaves the same way for direct-grant language limits. The public REST controllers in phpmyfaq/src/phpMyFAQ/Controller/Api/ never call the ForCategories/ForLanguage variants: FaqController::update calls hasValidToken(), then only userHasPermission(FAQ_EDIT), then the record-level isFaqEditableForUser() ACL, and reaches userMayPublish() only when the publication state changes, so keeping is-active true skips even that partial scoped check; FaqController::create calls only userHasPermission(FAQ_ADD) and gates userMayPublish() on is-active; CategoryController::create calls only userHasPermission(CATEGORY_ADD) and passes an unchecked parent-id into setParentId(), with is-active taken from the request body. The corresponding Administration API controllers do enforce scope via userHasPermissionForCategories() and userHasPermissionForLanguage(), which is why the identical request returns 403 there. Category-scoped rights arrived in commit c43e83004 and language-scoped rights in 83db240a7, both first shipped in 4.2.0-alpha.2, and the advisory notes this is a gap left between two earlier fixes (GHSA-8c6h-7g6x-m5x4 and GHSA-j3px-r7cr-r26r) that predate the 4.2 scope model. The vendor's reproduction requires medium permission mode, a group holding edit_faq restricted to category A and/or language de, an ordinary published FAQ in another category, and the api.apiClientToken value sent as the x-pmf-token header; the supplied proof of concept is a standalone PHP/SQLite script that replays the real permission SQL rather than a working remote exploit, and the controller flow was established by code reading, so a public PoC reference exists but it is not verified as working exploit code.

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 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Network REST endpoint with low complexity (AV:N/AC:L); PR:L because a valid scoped editor account plus the shared API token is required; integrity-only impact (I:L), no confidentiality or availability effect, no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

1
Patch available
Nov 17, 2026 - 03:16 EUVD

DescriptionCVE.org

phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-RC.2 contains an incorrect authorization vulnerability that allows category- or language-restricted editors to bypass scoped rights via public REST write endpoints. Attackers with a scoped right and the shared API token can use PUT faq/update, POST faq/create, and POST category to rewrite published FAQs and create root categories outside their scope.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche self-hosted open-source FAQ application, limited enterprise footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
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