# CVE-2024-54141: phpMyFAQ Generates an Error Message Containing Sensitive Information if database server is not available

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-06T15:00:16.407Z
- Modified: 2026-06-17T08:09:50.863Z
- Also known as: GHSA-vrjr-p3xp-xx2x
- Weaknesses: CWE-209
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Prior to 4.0.0, phpMyFAQ exposes the database (ie postgreSQL) server's credential when connection to DB fails. This vulnerability is fixed in 4.0.0.

(As written by CVE List.)

## Affected

- thorsten phpMyFAQ: < 4.0.0
- phpmyfaq phpmyfaq: before 4.0.0; 4.0.0
- thorsten/phpmyfaq (Packagist): before 4.0.0

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-vrjr-p3xp-xx2x> (exploit, vendor-advisory, web)
- <https://github.com/thorsten/phpMyFAQ/commit/b9289a0b2233df864361c131cd177b6715fbb0fe> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-54141> (advisory)
- <https://github.com/thorsten/phpMyFAQ> (package)

## Sources

- CVE List: [CVE-2024-54141](https://www.cve.org/CVERecord?id=CVE-2024-54141), CVE Terms of Use, modified 2024-12-06
- GitHub Advisory Database: [GHSA-vrjr-p3xp-xx2x](https://github.com/advisories/GHSA-vrjr-p3xp-xx2x), CC-BY-4.0, modified 2024-12-06
- NVD: [CVE-2024-54141](https://nvd.nist.gov/vuln/detail/CVE-2024-54141), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-54141 · Whole record: https://cve.day/CVE-2024-54141.json · Rebuilt by cve.day 2026-11-25T22:58:49.788Z
