Technical impact
A stored cross‑site scripting flaw exists in phpMyFAQ versions 4.2.0‑alpha through 4.2.0‑RC.1. The flaw is caused by the SvgSanitizer component failing to reject elements that use a namespace prefix, such as <x:script>. When an attacker uploads a crafted SVG file via the admin image upload interface, the malicious script executes in the context of the site origin. This enables an attacker to hijack browser sessions of privileged users, including super‑admin accounts, potentially compromising the entire CMS instance. The weakness is a classic input validation error (CWE‑79).
Affected Systems
phpMyFAQ 4.2.0‑alpha to 4.2.0‑RC.1 hosted on servers running IIS. The vulnerability is triggered through features available to users with FAQ_EDIT permissions.
Risk and Exploitability
The CVSS score of 2.1 indicates low severity, yet the exploit can be achieved by uploading a malicious SVG file, a relatively simple action for an authenticated FAQ_EDIT user. The EPSS score is not provided, and the vulnerability is not listed in CISA’s KEV catalog. Nonetheless, because the flaw allows authenticated attackers to run scripts in a privileged user’s session, it poses a significant risk to confidentiality and integrity and should be addressed promptly.