CVE-2025-34318 IPFire < v2.29 Stored XSS via DNS Creation (proxy.cgi)

Medium 5.1 Published Updated

An authenticated attacker can inject arbitrary JavaScript into DNS configuration fields, leading to script execution in other users' browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-34318?

CVE-2025-34318 is a medium-severity cross-site scripting vulnerability in IPFire.org IPFire, published on 28 Oct 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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, 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.

Weakness: CWE-79

Which versions are affected by CVE-2025-34318?

How do I fix CVE-2025-34318?

No fix has been published for CVE-2025-34318 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-34318 being exploited?

There is no known exploitation of CVE-2025-34318 in the wild and no public exploit code.

Sources

Also known as GHSA-m2v6-3j8j-267x.

Is CVE-2025-34318 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free