{"id":"GHSA-6p68-36m6-392r","aliases":["CVE-2024-28106"],"title":"phpMyFAQ Stored Cross-site Scripting at FAQ News Content","description":"### Summary\nBy 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.\n\n### PoC\n1. Edit a FAQ news, intercept the request and modify the `news` parameter in the POST body with the following payload:  `%3cscript%3ealert('xssContent')%3c%2fscript%3e`\n2. Browse to the particular news page and the XSS should pop up.\n![image](https://github.com/thorsten/phpMyFAQ/assets/63487456/01312703-c54c-4ee6-9f2c-0dd1bf1b23cf)\n\n### Impact\nThis allows an attacker to execute arbitrary client side JavaScript within the context of another user's phpMyFAQ session","severity":"medium","score":4.3,"published":"2024-03-25T19:45:52.000Z","modified":"2026-09-10T03:50:10.193Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"phpmyfaq/phpmyfaq","ranges":[{"events":[{"introduced":"3.2.5"},{"fixed":"3.2.6"}],"type":"ECOSYSTEM"}],"versions":["3.2.5"],"fixed":["3.2.6"]}],"references":["https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-6p68-36m6-392r","https://nvd.nist.gov/vuln/detail/CVE-2024-28106","https://github.com/thorsten/phpMyFAQ/commit/c94b3deadd87789389e1fad162bc3dd595c0e15a","https://github.com/thorsten/phpMyFAQ"],"sources":[{"name":"OSV","id":"GHSA-6p68-36m6-392r","modified":"2026-09-10T03:50:10.193380966Z","url":"https://osv.dev/vulnerability/GHSA-6p68-36m6-392r"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L","score":4.3}]}