IPFire Stored Cross-Site Scripting Vulnerability in Location Group Creation

Vulnerability

A stored cross-site scripting vulnerability has been identified in IPFire versions prior to 2.29 (Core Update 198). This vulnerability allows authenticated attackers to inject arbitrary JavaScript into the COUNTRY_CODE parameter while creating location groups. The injected code is stored and later executed in the context of users viewing the affected page, due to improper sanitization of the COUNTRY_CODE value, which determines the flag displayed for the location group.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of users viewing the affected page.

Reproduction

To reproduce this vulnerability, an authenticated user can create a new location group and inject JavaScript into the COUNTRY_CODE parameter. When the group is saved, the application processes the COUNTRY_CODE value without proper sanitization, leading to the execution of the injected script when the group is viewed.

Remediation

Users can update to IPFire 2.29 (Core Update 198) to address this vulnerability.

Added: Oct 28, 2025, 3:44 PM
Updated: Oct 28, 2025, 3:44 PM

Vulnerability Rating

Custom Algorithm
spread
4.5
impact
1.7
exploitability
6.0
remediation
7.7
relevance
0.8
threat
6.4
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.