---
id: CVE-2025-34318
title: "IPFire versions prior to 2.29 (Core Update 198) contain\_a stored cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject arbitrary JavaScript code through the TLS_HOSTNAME, UPSTREAM_USER, UPSTREAM_PASSWOR…"
summary: "IPFire versions prior to 2.29 (Core Update 198) contain\_a stored cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject arbitrary JavaScript code through the TLS_HOSTNAME, UPSTREAM_USER, UPSTREAM_PASSWOR…"
severity: none
cwe:
  - CWE-79
published: '2025-10-28'
updated: '2026-09-26'
sourceUpdated: '2026-09-26T00:10:00.127'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-34318'
references:
  - url: 'https://bugzilla.ipfire.org/show_bug.cgi?id=13893'
    label: disclosure@vulncheck.com
  - url: 'https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/ipfire-stored-xss-via-dns-creation-proxy-cgi
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00479
epssPercentile: 0.38784
ingestedAt: '2026-09-26T00:22:39.964Z'
---

## Overview

IPFire versions prior to 2.29 (Core Update 198) contain a stored cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject arbitrary JavaScript code through the TLS_HOSTNAME, UPSTREAM_USER, UPSTREAM_PASSWORD, ADMIN_MAIL_ADDRESS, and ADMIN_PASSWORD parameters when adding a new DNS entry. When a user adds a DNS entry, the application issues an HTTP POST request to /cgi-bin/dns.cgi and these values are provided in the corresponding parameters. The values are 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 DNS configuration.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
