Skip to main content

phpMyFAQ CVE-2026-130343

| EUVDEUVD-2026-126804 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-17 VulnCheck GHSA-mmjf-pc5j-8xpr
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as any frontend user
  2. Delivery
    Obtain request-removal CSRF token
  3. Exploit
    POST victim's userId/login/email triple
  4. Execution
    getUserById loads target, reflexive check passes
  5. Impact
    Admin acts on spoofed email, deletes victim account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires an authenticated frontend account (self-registration is enabled by default), knowledge of the victim's login name and email, and a mail-configured instance; the numeric userId is sequential and easily guessed. The endpoint also requires a valid request-removal CSRF token, which is issued to any logged-in user. Exploitation is materially limited: nothing is deleted automatically - an administrator must act on the spoofed 'Remove User Request' email, and the Reply-To is set to the real victim, so an admin who replies would notice the spoof. Affected versions are 3.2.5 through 4.1.11 and the 4.2.0 pre-releases through 4.2.0-beta/RC.2; fixed in 4.1.12 and 4.2.0-RC.2. Updating is the vendor remediation.

Impact

This is a genuine but lower-tier priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P) and the 5.1 (medium) base score agree with the described mechanism: a network-reachable endpoint abusable by an already-authenticated low-privilege user, with the actual harm gated behind passive interaction - an administrator who trusts and acts on a spoofed 'Remove User Request' email. The technical impact is limited (VI:L, with VC:N/VA:N), because the flaw itself only sends a forged in-product email; deletion of the victim's account and data happens through the admin, not automatically. It is NOT in CISA KEV (no confirmed active exploitation), and no EPSS score was provided, so widespread exploitation cannot be inferred from these signals. A public PoC reference exists in the GHSA advisory, but it is extracted-logic code exercising the vulnerable comparison against a stub, not verified as a working exploit against a booted instance - so POC availability here should not be read as active exploitation. The vuln.today decision label is 'this_month', consistent with a patch-on-normal-cadence priority rather than act_now/emergency. Net: a real authorization-bypass bug (CWE-639, an incomplete fix of GHSA-6648) worth patching on a normal monthly cycle, not a drop-everything emergency.

Exploit ScenarioDerived

An authenticated low-privilege phpMyFAQ frontend user who knows a victim's login name and email logs in, requests the removal CSRF token via GET /user/request-removal, then POSTs the victim's userId, loginname, and email to /api/user/request-removal. The reflexive ownership check passes, so administrators receive a 'Remove User Request' email appearing to come from the victim; if an admin trusts it, the victim's account and data are deleted. A standalone extracted-logic PoC in the GHSA advisory demonstrates the bypassed check, though it is not a booted-instance exploit.

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

Any authenticated frontend user of phpMyFAQ 3.2.5 through 4.1.11, and of the 4.2.0 pre-releases up to 4.2.0-beta/RC.2, can file an account-removal request in another user's name, causing administrators to receive a spoofed 'Remove User Request' email that appears to originate from the victim. The ownership check introduced in 3.2.5 for GHSA-6648-6g96-mg35 first loads the attacker-supplied userId into the session user object, so the subsequent comparisons only prove the submitted id, login name and email are self-consistent rather than that they belong to the caller; a victim's login name and email - with a sequential numeric id - are enough to abuse it. Impact is deliberate rather than automatic: nothing is deleted unless an administrator acts on the email, the Reply-To is the real victim's address, and a public PoC reference exists (extracted logic published with the advisory) that is not verified as working exploit code; no confirmed active exploitation is associated with this CVE.

RemediationAI

Vendor-released patch: upgrade to phpMyFAQ 4.1.12 or 4.2.0-RC.2 - updating is the remediation the vendor documents. Commit 30997574d7c00b4e2d7121cf1653fb244c63dd9e replaces the reflexive check with isRemovalRequestForCurrentUser(), which requires isLoggedIn() and binds the submitted userId, loginname and email directly to the session user's values without ever calling getUserById() on $this->currentUser, adds userIsAuthenticated() to the endpoint, and adds regression tests asserting that a removal request naming another existing user is rejected and that getUserById() is never invoked. Because the source of the defect is in the endpoint itself, no code-level workaround exists for unpatched instances; the practical compensating controls are around the human step that gives the flaw its impact. Administrators should treat in-product 'Remove User Request' messages as unverified and confirm deletion out-of-band - note the Reply-To is set to the genuine victim's address, so replying to the message exposes the spoof, at the cost of an extra round-trip before any account is removed. Restricting or disabling self-registration shrinks the pool of accounts able to reach the endpoint (self-registration is on by default and an authenticated account is a prerequisite), though it does not fix the flaw and changes onboarding for legitimate users. Advisory: https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-42c6-wxqw-2rv6.

Affected VersionsENISA

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

Affected Packages

euvd phpmyfaq fix: 4.1.12, 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

phpMyFAQ is a PHP-based FAQ/community application by Thorsten Rinne (CPE thorsten:phpmyfaq), and the flaw is a textbook CWE-639 authorization bypass through a user-controlled key, with CWE-863 (incorrect authorization) and CWE-204 (observable response discrepancy) as secondary classes. In UserController::requestUserRemoval (src/phpMyFAQ/Controller/Frontend/Api/UserController.php on main, and the earlier Controller/Frontend/UserController.php in 4.1.x), the userId, loginname and email values are taken from the POST body. The validation calls $this->currentUser->getUserById($userId) before comparing the input to getUserId(), getLogin() and getUserData('email'). User::getUserById() is a mutator, not a lookup on a separate object: it runs SELECT ... WHERE user_id = %d AND account_status != 'blocked', then extractUserFromResult() overwrites $this->userId and $this->login and reloads userData for that row. Since 4.0 the receiver is $this->currentUser (CurrentUser does not override getUserById), so the check is reflexive - it compares attacker input against the target's own record. The same defective check existed in 3.2.5 (api.service.php) with a fresh new User(), was carried into 4.0.0 (c67890496) and 4.1.11, and survives through 4.2.0-beta/RC.2. A valid 'request-removal' CSRF token, issued to any logged-in user by GET /user/request-removal, must accompany the POST. Existing unit tests mock CurrentUser, so getUserById() never mutated state and the defect went undetected; the advisory notes the endpoint also discloses whether a userId/login/email triple is valid via 400 versus 200 responses, but only for triples the attacker already knows.

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

Network endpoint abusable by an authenticated low-privilege user (PR:L); harm only materializes if an admin acts on the spoofed email (UI:R); limited integrity impact, no confidentiality or direct availability loss.

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/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
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

phpMyFAQ 3.2.5 before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an authorization bypass vulnerability in the user/request-removal API endpoint that lets authenticated users file account removal requests as other users. The ownership check calls getUserById() with the attacker-supplied userId on the session user object, so it compares the input against the target's own record. Attackers who know a victim's login name and email can submit that userId, loginname, and email, sending administrators a spoofed Remove User Request email. This may lead an admin to delete the victim's account and data.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche self-hosted open-source PHP 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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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