CVE-2025-34305 Details
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.
A stored cross-site scripting vulnerability has been identified in IPFire versions prior to 2.29 (Core Update 198). This issue arises from the cleanhtml() function in /var/ipfire/header.pl, which improperly sanitizes user input by failing to apply HTML-entity encoding. As a result, when an authenticated user submits data to certain endpoints, the unsanitized input is stored and later displayed in the web interface, allowing injected scripts to execute in the context of other users.
Users can update to IPFire 2.29 (Core Update 198) to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.ipfire.org/show_bug.cgi?id=13880 | [email protected] | Issue TrackingThird Party Advisory |
| https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released | [email protected] | Release Notes |
| https://www.vulncheck.com/advisories/ipfire-stored-xss-via-multiple-methods-in-cleanhtml | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ipfire ipfire | < 2.29 2.29 core_update183 2.29 core_update184 2.29 core_update185 2.29 core_update186 2.29 core_update187 2.29 core_update188 2.29 core_update189 2.29 core_update190 2.29 core_update191 2.29 core_update192 2.29 core_update193 2.29 core_update194 2.29 core_update195 2.29 core_update196 2.29 core_update197 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | Initial Analysis | [email protected] |
| Oct 28, 2025 | New CVE Received | [email protected] |