Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-34305

MEDIUM 5.1EPSS 26%

IPFire < v2.29 Stored XSS via Multiple Methods in cleanhtml()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running IPFire.org IPFire < 2.29 (Core Update 198)

Vulnerability facts

Affected
IPFire.org IPFire < 2.29 (Core Update 198)
Fixed in
IPFire.org IPFire 2.29
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.1 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: Low
  • User interaction: Passive
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: None
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: Low
  • Availability impact on other systems: None
EPSS
0.40% chance of exploitation in 30 days (percentile 26, 2026-11-26)
CWE
CWE-79
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
IPFire.org IPFire< 2.29 (Core Update 198)—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-34305. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-34305.md
Affected: IPFire.org IPFire < 2.29 (Core Update 198)
Fixed in: IPFire.org IPFire 2.29

Steps:
1. Search this machine and project for IPFire.org IPFire: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-34305 being exploited?

There is no confirmed exploitation: CVE-2025-34305 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-34305?

Medium: CVSS 5.1 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2025-34305?

IPFire.org IPFire < 2.29 (Core Update 198).

Is there a fix for CVE-2025-34305?

Yes. Fixed in IPFire.org IPFire 2.29. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-34305?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors