ADVISORIES

GitHub Advisory Database

GHSA-j4rc-96xj-gvqc

phpMyFAQ: Public API endpoints expose emails and invisible questions

Moderate CVE-2026-24422

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

EcosystemPackageAffected versions
Packagistphpmyfaq/phpmyfaq
All versions before 4.0.17 (fixed in 4.0.17)
Packagistthorsten/phpmyfaq
All versions before 4.0.17 (fixed in 4.0.17)

References