IPFire < v2.29 Stored XSS via Multiple Methods in cleanhtml()
Summary
| CVE | CVE-2025-34305 |
|---|---|
| State | PUBLISHED |
| Assigner | VulnCheck |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-10-28 15:16:10 UTC |
| Updated | 2026-10-19 13:10:00 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 5.1 MEDIUM from [email protected]
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 5.1 | MEDIUM | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 5.1 | MEDIUM | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| 3.1 | [email protected] | Primary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
PassiveConfidentiality
NoneIntegrity
NoneAvailability
NoneSub Conf.
LowSub Integrity
LowSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Ipfire | Ipfire | All | All | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update183 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update184 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update185 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update186 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update187 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update188 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update189 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update190 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update191 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update192 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update193 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update194 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update195 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update196 | All | All |
| Application | Ipfire | Ipfire | 2.29 | core_update197 | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | IPFire.org | IPFire | affected 2.29 (Core Update 198) custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| bugzilla.ipfire.org/show_bug.cgi | [email protected] | bugzilla.ipfire.org | Issue Tracking, Third Party Advisory |
| www.vulncheck.com/advisories/ipfire-stored-xss-via-multiple-methods-in-cleanhtml | [email protected] | www.vulncheck.com | Third Party Advisory |
| www.ipfire.org/blog/ipfire-2-29-core-update-198-released | [email protected] | www.ipfire.org | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Alex Williams from Pellera Technologies (en)
There are currently no legacy QID mappings associated with this CVE.