# CVE-2024-24574: phpMyFAQ vulnerable to stored XSS on attachments filename

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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.88%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-05T20:22:05.000Z
- Modified: 2026-09-10T03:50:09.809Z
- Also known as: GHSA-7m8g-fprr-47fx
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation poc, automatable no, 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. Unsafe echo of filename in phpMyFAQ\phpmyfaq\admin\attachments.php leads to allowed execution of JavaScript code in client side (XSS). This vulnerability has been patched in version 3.2.5.

(As written by CVE List.)

## Affected

- thorsten phpMyFAQ: < 3.2.5
- phpmyfaq/phpmyfaq (Packagist): before 3.2.5
- phpmyfaq phpmyfaq: before 3.2.5

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7m8g-fprr-47fx> (exploit, vendor-advisory, web)
- <https://github.com/thorsten/phpMyFAQ/pull/2827> (patch, web)
- <https://github.com/thorsten/phpMyFAQ/commit/5479b4a4603cce71aa7eb4437f1c201153a1f1f5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-24574> (advisory)
- <https://github.com/thorsten/phpMyFAQ> (package)
- <https://www.phpmyfaq.de/security/advisory-2024-02-05> (web)

## Sources

- CVE List: [CVE-2024-24574](https://www.cve.org/CVERecord?id=CVE-2024-24574), CVE Terms of Use, modified 2025-06-17
- GitHub Advisory Database: [GHSA-7m8g-fprr-47fx](https://github.com/advisories/GHSA-7m8g-fprr-47fx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-24574](https://nvd.nist.gov/vuln/detail/CVE-2024-24574), Public domain, modified 2026-06-17

---

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