CVE-2019-25397 IPFire 2.21 Core Update 127 Cross-Site Scripting via hosts.cgi
Attackers can inject malicious scripts via unvalidated parameters in hosts.cgi, allowing arbitrary JavaScript execution in user browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2019-25397?
CVE-2019-25397 is a medium-severity cross-site scripting vulnerability in IPFire, published on 18 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
IPFire 2.21 Core Update 127 contains multiple reflected cross-site scripting vulnerabilities in the hosts.cgi script that allow attackers to inject malicious scripts through unvalidated parameters. Attackers can submit POST requests with script payloads in the KEY1, IP, HOST, or DOM parameters to execute arbitrary JavaScript in users' browsers.
Weakness: CWE-79
Which versions are affected by CVE-2019-25397?
It affects 1 product.
Products include Ipfire Ipfire.
How do I fix CVE-2019-25397?
No fix has been published for CVE-2019-25397 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-2019-25397 being exploited?
There is no known exploitation of CVE-2019-25397 in the wild and no public exploit code.
Other vulnerabilities in IPFire
Sources
Also known as GHSA-qx68-hf7m-xmfg.