Cross-site scripting in phpMyFAQ - CVE-2024-24574
Published: February 5, 2024 / Updated: May 5, 2026
phpMyFAQ
Thorsten Rinne
Description
The vulnerability allows a remote user to execute arbitrary JavaScript in the administrator interface.
The vulnerability exists due to cross-site scripting in phpmyfaq\phpmyfaq\admin\attachments.php when rendering attachment filenames from user-controlled data. A remote user can upload an attachment with a specially crafted filename to execute arbitrary JavaScript in the administrator interface.
The payload is stored in the faqattachment table and is triggered when the attachments listing page is viewed.