FreePBX Contact Manager Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the FreePBX Contact Manager module, affecting versions 15.0.14 and below, 16.0.0 through 16.0.26.4, and 17.0.0 through 17.0.5. This vulnerability allows low-privileged User Control Panel (UCP) users to inject malicious JavaScript that executes in the context of an administrator, potentially leading to session hijacking and privilege escalation.

Impact

Exploitation of this vulnerability allows for session hijacking through theft of the PHPSESSID cookie, privilege escalation, and execution of arbitrary JavaScript in the administrator's browser.

Reproduction

To reproduce this vulnerability, a low-privileged UCP user can create a new contact group and inject a JavaScript payload into the name field. Once saved, this payload executes immediately in the user's session and persists. When an administrator interacts with the Contact Manager component, the injected script runs in their browser, exploiting the XSS vulnerability.

Remediation

Users should upgrade to FreePBX versions 15.0.14, 16.0.27, or 17.0.6, and check their UCP Contact Groups for any injected JavaScript.

Added: Sep 4, 2025, 11:22 PM
Updated: Sep 4, 2025, 11:22 PM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
5.4
exploitability
5.4
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.