4.3medium
phpMyFAQ Stored XSS at FAQ News Content
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.54% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-6p68-36m6-392r
Description
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. By manipulating the news parameter in a POST request, an attacker can inject malicious JavaScript code. Upon browsing to the compromised news page, the XSS payload triggers. This vulnerability is fixed in 3.2.6.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| thorsten phpMyFAQ | 3.2.5 | CVE List |
| phpmyfaq phpmyfaq | 3.2.5 | CVE List, NVD |
| phpmyfaq/phpmyfaq (Packagist) | from 3.2.5 before 3.2.6 | GitHub Advisory Database |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. By manipulating the news parameter in a POST request, an attacker can inject malicious JavaScript code. Upon browsing to the compromised news page, the XSS payload triggers. This vulnerability is fixed in 3.2.6.
GitHub Advisory Database
Summary
By manipulating the news parameter in a POST request, an attacker can inject malicious JavaScript code. Upon browsing to the compromised news page, the XSS payload triggers.
PoC
- Edit a FAQ news, intercept the request and modify the
newsparameter in the POST body with the following payload:%3cscript%3ealert('xssContent')%3c%2fscript%3e - Browse to the particular news page and the XSS should pop up. image
Impact
This allows an attacker to execute arbitrary client side JavaScript within the context of another user's phpMyFAQ session
NVD (es)
phpMyFAQ es una aplicación web de preguntas frecuentes de código abierto para PHP 8.1+ y MySQL, PostgreSQL y otras bases de datos. Al manipular el parámetro de noticias en una solicitud POST, un atacante puede inyectar código JavaScript malicioso. Al navegar a la página de noticias comprometida, se activa la carga útil XSS. Esta vulnerabilidad se soluciona en 3.2.6.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-28106 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6p68-36m6-392r changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-28106 changed 2026-06-17 | Public domain |