GitHub Advisory Database
GHSA-j4rc-96xj-gvqc
phpMyFAQ: Public API endpoints expose emails and invisible questions
Details
Summary
Several public API endpoints return email addresses and non‑public records (e.g. open questions with isVisible=false).
Details
OpenQuestionController::list() calls Question::getAll() with the default showAll=true, returning invisible questions and their emails. Similar exposures exist in comment/news/faq APIs.
PoC
curl -i -H 'Accept-Language: en' \
http://192.168.40.16/phpmyfaq/api/v3.0/open-questions
Impact
Privacy exposure of email addresses and non‑public content; increased risk of phishing/scraping.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | phpmyfaq/phpmyfaq | All versions before 4.0.17 (fixed in 4.0.17) |
| Packagist | thorsten/phpmyfaq | All versions before 4.0.17 (fixed in 4.0.17) |