# CVE-2025-34305: IPFire < v2.29 Stored XSS via Multiple Methods in cleanhtml()

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2025-10-28T14:34:36.345Z
- Modified: 2026-10-19T13:10:00.110Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- IPFire.org IPFire: before 2.29 (Core Update 198)
- ipfire ipfire: before 2.29; 2.29

## Every score

- VulnCheck: CVSS:4.0 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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released> (patch, release-notes, vendor-advisory)
- <https://bugzilla.ipfire.org/show_bug.cgi?id=13880> (issue-tracking, third-party-advisory)
- <https://www.vulncheck.com/advisories/ipfire-stored-xss-via-multiple-methods-in-cleanhtml> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-34305](https://www.cve.org/CVERecord?id=CVE-2025-34305), CVE Terms of Use, modified 2025-10-29
- NVD: [CVE-2025-34305](https://nvd.nist.gov/vuln/detail/CVE-2025-34305), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-34305 · Whole record: https://cve.day/CVE-2025-34305.json · Rebuilt by cve.day 2026-11-25T22:59:06.954Z
