GHSA-j4rc-96xj-gvqc
phpMyFAQ: Public API endpoints expose emails and invisible questions
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | phpmyfaq/phpmyfaq | < 4.0.17 | 4.0.17 |
| Packagist | thorsten/phpmyfaq | < 4.0.17 | 4.0.17 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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.
References
External links from the advisory. They lead to third-party sites.