CVE-2025-34310 IPFire < v2.29 Stored XSS via Quality of Service (QoS) Settings
An authenticated attacker can inject malicious scripts into IPFire QoS settings, leading to code 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-34310?
CVE-2025-34310 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 INC_SPD, OUT_SPD, DEFCLASS_INC, and DEFCLASS_OUT parameters when updating Quality of Service (QoS) settings. When a user updates speeds or classes, the application issues an HTTP POST request to /cgi-bin/qos.cgi and the values for incoming/outgoing speeds and default classes are provided in the INC_SPD, OUT_SPD, DEFCLASS_INC, and DEFCLASS_OUT parameters. The values of these parameters 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 QoS entries.
Weakness: CWE-79
Which versions are affected by CVE-2025-34310?
It affects 1 product.
Products include Ipfire Ipfire.
How do I fix CVE-2025-34310?
No fix has been published for CVE-2025-34310 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-34310 being exploited?
There is no known exploitation of CVE-2025-34310 in the wild and no public exploit code.
Other vulnerabilities in IPFire.org IPFire
Sources
Also known as GHSA-vfqw-p79c-pfc5.