Technical impact
A flaw in the escape_href function of the voicemail_messages.php file in the FusionPBX Voicemails module allows an attacker to inject arbitrary JavaScript by manipulating the back parameter. This remote cross‑site scripting vulnerability can be triggered through a crafted URL and executed in the victim’s browser, allowing the executed JavaScript to potentially access client‑side data. The weakness is a classic improper input validation issue, identified as CWE‑79 and a possible code injection scenario (CWE‑94).
Affected Systems
FusionPBX versions up to and including 5.6.5 are affected. The vulnerability existed in all releases prior to the patch commit 44248ff7c898bb386734c01cf8fccea06660571e and is no longer present in newer releases.
Risk and Exploitability
The CVSS score of 5.1 indicates moderate risk. EPSS score of < 1% suggests a very low likelihood of exploitation. The vulnerability is not listed in CISA KEV. Exploitation requires a crafted URL with the back parameter; it can be performed remotely. Based on the description, it is inferred that executing arbitrary JavaScript in the victim’s browser could lead to theft of session data or page defacement.