{"id":"CVE-2024-24574","published":"2024-02-05T20:57:13Z","modified":"2025-06-17T14:01:12Z","title":"phpMyFAQ vulnerable to stored XSS on attachments filename","vendor":"thorsten","product":"phpMyFAQ","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0088,"percentile":0.59981,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-7m8g-fprr-47fx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/thorsten/phpMyFAQ/pull/2827","tags":["x_refsource_MISC"]},{"url":"https://github.com/thorsten/phpMyFAQ/commit/5479b4a4603cce71aa7eb4437f1c201153a1f1f5","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":12.0},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"thorsten","affectedVersions":[{"vendor":"thorsten","product":"phpMyFAQ","versions":["< 3.2.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-07T16:38:54.328013Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpmyfaq/phpmyfaq","vulnerableRanges":["<3.2.5"],"patched":["3.2.5"],"from":["GHSA-7m8g-fprr-47fx"],"provenance":"source"}],"summary":{"text":"The flaw is a stored cross-site scripting issue in the phpMyFAQ open source FAQ application, where the attachment filename is echoed unsafely in the admin attachments page (admin/attachments.php), allowing JavaScript to execute in the client's browser. An attacker can exploit it over the network without privileges, requiring only that a user interact with the affected admin attachment view, and the page is vulnerable in phpMyFAQ releases prior to version 3.2.5.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:48Z"},"euvd":{"id":"EUVD-2024-0558","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-3608","published":"2022-10-19","fixed":"3.2.0-alpha","kev":false,"link":{"from":"CVE-2022-3608","to":"CVE-2024-24574","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyfaq/phpmyfaq","fromFixed":"3.2.0-alpha","toFixed":"3.2.5","daysApart":474}]}},{"cve":"CVE-2024-22202","published":"2024-02-05","fixed":"3.2.5","kev":false},{"cve":"CVE-2024-22208","published":"2024-02-05","fixed":"3.2.5","kev":false},{"cve":"CVE-2024-24574","published":"2024-02-05","fixed":"3.2.5","kev":false},{"cve":"CVE-2024-27299","published":"2024-03-25","fixed":"3.2.6","kev":false},{"cve":"CVE-2024-27300","published":"2024-03-25","fixed":"3.2.6","kev":false},{"cve":"CVE-2024-28105","published":"2024-03-25","fixed":"3.2.6","kev":false}],"package":"Packagist:phpmyfaq/phpmyfaq"}}