CVE-2025-34305CWE-79cross-site-scripting

CVE-2025-34305

Medium · published October 28, 2025

CVSS v3.1
5.4
EPSS
0%
Percentile
40.8
In the wild
Unconfirmed
What it is

IPFire versions prior to 2.29 (Core Update 198) contain multiple stored cross-site scripting (XSS) vulnerabilities caused by a bug in the cleanhtml() function (/var/ipfire/header.pl) that fails to apply HTML-entity encoding to user input. When an authenticated user submits data to affected endpoints - for example, POST /cgi-bin/wakeonlan.cgi (CLIENT_COMMENT), /cgi-bin/dhcp.cgi (ADVOPT_DATA, FIX_REMARK, FIX_FILENAME, FIX_ROOTPATH), /cgi-bin/connscheduler.cgi (ACTION_COMMENT), /cgi-bin/dnsforward.cgi (REMARK), /cgi-bin/vpnmain.cgi (REMARK), or /cgi-bin/dns.cgi (REMARK) - the application calls escape() and HTML::Entities::encode_entities() but never assigns the sanitized result back to the output variable. The original unsanitized value is therefore stored and later rendered in the web interface without proper sanitation or encoding, allowing injected scripts to execute in the context of other users who view the affected entries.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00485 · 40.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-10-28T19:16Z
Affected products (16)
ProductVersionsFixed in
ipfire/ipfire< 2.292.29
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
ipfire/ipfireall versions—
References (3)
EPSS history
Timeline
  • 28 OCT 14:34Z
    IPFire < v2.29 Stored XSS via Multiple Methods in cleanhtml()
    cvelistv5