Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as activated low-privilege user
-
ExploitLoop bookmark_action=add over sequential FAQ ids
-
ExecutionInsert written before visibility 404 check
-
ImpactRead leaked draft titles at /user/bookmarks
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 activated frontend user account with no special rights; with the default spam.manualActivation=true, self-registered accounts must first be activated by an admin, so the realistic actor is any ordinary member. The target data must exist as unpublished Draft/Review FAQs whose record ACL admits the attacker - pending guest/user submissions qualify because the default records.defaultActivation=false stores them as drafts inheriting category permissions. The specific trigger is the legacy GET side-channel on the FAQ detail page (?bookmark_action=add, e.g. /content/1/N/en/x.html?bookmark_action=add or index.php?action=faq&id=N&bookmark_action=add in 4.1), which inserts the bookmark before loadFaq()/isFaqRecordVisible(); the hardened POST /api/bookmark/create path is not affected. Limiting factors: ACL-restricted FAQs are NOT leaked (queryPermission applies, placeholder title is empty); for drafts only the id, title and title slug are exposed while the answer body is replaced by err_inactiveArticle; full-answer exposure only occurs for the secondary case of a published record with a future date_start. |
| Impact | This is a genuine but low-to-moderate severity authorization flaw (CWE-639, IDOR), not a false-positive high-CVSS issue - the input CVSS 4.0 base score is 5.3 and the vector (AV:N/AC:L/AT:N/PR:L/UI:N) with VC:L/VI:N/VA:N correctly reflects a network-reachable, low-complexity, low-privileged read that leaks only limited confidentiality (FAQ titles/slugs) and has no integrity or availability impact. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with the limited impact. No CISA KEV entry and no EPSS score were provided, so there is no signal of active or probable widespread exploitation; absence of these is not evidence of safety but does not elevate priority. A detailed reproduction exists in the vendor GHSA advisory, but the researcher explicitly states the insert-before-visibility-check ordering was established by code reading and was not run against a live server, and that 4.1.x is affected 'by code reading only' - so the PoC is a public reference, not verified working exploit code. Net: a real, confirmed information-disclosure bug worth patching in routine (monthly) cycles, bounded by an authentication requirement and by the fact that only draft/review FAQ titles (not full answers or ACL-restricted records) leak. |
| Exploit ScenarioDerived | An activated low-privilege phpMyFAQ frontend member iterates FAQ ids by requesting detail pages with bookmark_action=add; each request writes a bookmark row before the server's isFaqRecordVisible() 404 check runs, so hidden records get bookmarked anyway. The attacker then loads /user/bookmarks, which renders each bookmark's real title via getFaq() without a visibility check, revealing the question text of draft and pending-submission FAQs. A step-by-step reproduction is published in the vendor GHSA advisory, but the insert-before-check ordering was verified by code reading, not against a live instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 17, 2026
Unpublished and draft FAQ titles in phpMyFAQ (through 4.1.11, and 4.2.0-alpha before 4.2.0-RC.2) can be enumerated by an authenticated, activated low-privilege frontend user through the legacy GET bookmark side-channel on the FAQ detail page. Requesting a detail page with bookmark_action=add writes the bookmark row before loadFaq() and the isFaqRecordVisible() check return a 404, and /user/bookmarks then renders the stored record through BookmarkFormatter::format(), which calls Faq::getFaq() without asking RecordVisibility and therefore keeps the real title of the non-published record. The leak is limited to record id, question text and title slug for drafts or pending submissions (the answer body is replaced by a placeholder) and does not cross record ACLs; no public exploit code was identified at time of analysis, and there is no CISA KEV listing.
RemediationAI
Vendor-released patches fix both branches: upgrade to phpMyFAQ 4.1.12 or 4.2.0-RC.2, which contain commit 48a161cac5f8a4bc3ec7bdde6488e87433247699 referenced from advisory GHSA-2w9g-5r5g-3cvx. The fix moves the bookmark_action handling in FaqController::show()/faq.php to after loadFaq() and the isFaqRecordVisible() 404 gate, requires the add-bookmark/delete-bookmark CSRF tokens for the GET path, makes BookmarkFormatter::format() return null when !$faq->isFaqRecordVisible(), and makes Bookmark::add() refuse ids the current user may not see via a new private isFaqVisible() helper mirroring the API controller's isFaqAccessible() check; regression tests cover inactive, not-yet-published and non-permitted records. If upgrading is not immediately possible, the vendor's own remediation options are to handle bookmark_action only after the visibility check or to drop the legacy GET side-channel entirely and rely on the already-hardened CSRF-protected POST /api/bookmark/create, and to add the isFaqRecordVisible() guard in BookmarkFormatter::format() - the latter also covers bookmarks created before a FAQ was unpublished and records outside their publication window. Reducing exposure further means tightening who can hold an activated frontend account (the default spam.manualActivation=true already requires admin activation of self-registered users) and ensuring pending submissions are not stored as drafts with category-wide ACLs, though that changes editorial workflow behaviour. Note the default records.defaultActivation=false means guest submissions land as Drafts inheriting category permissions, which is exactly the condition this flaw exploits.
Affected VersionsENISA
Affected Packages
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
CWE-639 (Authorization Bypass Through User-Controlled Key) maps here to a bookmark/record IDOR in phpMyFAQ's frontend controller. In FaqController::show() the GET handler for bookmark_action=add calls BookmarkRepository::add(), which performs an unconditional INSERT INTO bookmarks (userid, faqid), before FaqDisplayService::loadFaq() and the isFaqRecordVisible() 404 gate run; the 404 does not roll back the insert. The read side is BookmarkFormatter::format(), which calls Faq::getFaq() and renders title and slug in bookmarks.twig without consulting Faq\RecordVisibility - the class docblock itself warns that public read paths must ask it before rendering. Faq::getFaq() keeps 'title' => $question for non-published rows and substitutes only the answer with the err_inactiveArticle placeholder, and it never checks date_start (only date_end), so records outside their publication window can also surface. The JSON route POST /api/bookmark/create already enforced an isFaqAccessible() check (ACL, unpublished, expired) and is not affected; the newer 4.2 controller was equally missed. Because getFaqResult() applies queryPermission(), ACL-restricted records are not leaked and their placeholder carries an empty title, and for drafts only id, title and title slug are disclosed. The same formatter causes two secondary effects: a bookmark created while a record was published keeps rendering its title after unpublishing, and a published record with a future date_start can show its full answer early. The GET add/remove also lacks a CSRF token, a nuisance-level side effect only.
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:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable, low-complexity request needing an activated low-privilege account (PR:L); only FAQ titles/slugs leak (C:L) with no integrity or availability impact and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
phpMyFAQ before 4.1.12 and 4.2.0-alpha before 4.2.0-RC.2 contains an information disclosure vulnerability that allows authenticated low-privilege users to read unpublished FAQ titles via bookmark_action. Attackers can request FAQ detail pages with bookmark_action=add across sequential ids, then view /user/bookmarks to reveal draft and pending submission question text.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in phpMyFAQ Authorization Bypass and Info Disclosure
View all 27Duplicate-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-126808
GHSA-hq3c-rx4p-fmp7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB