VDB
Sign up
MEDIUM5.3

GHSA-j4rc-96xj-gvqc

phpMyFAQ: Public API endpoints expose emails and invisible questions

Quick fix

GHSA-j4rc-96xj-gvqc — phpmyfaq/phpmyfaq: upgrade to the fixed version with the command below.

composer require phpmyfaq/phpmyfaq:^4.0.17

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/phpmyfaq/phpmyfaq
Introduced in: 0Fixed in: 4.0.17
Fixcomposer require phpmyfaq/phpmyfaq:^4.0.17
Packagist/thorsten/phpmyfaq
Introduced in: 0Fixed in: 4.0.17
Fixcomposer require thorsten/phpmyfaq:^4.0.17

References