CVE-2019-25398 IPFire 2.21 Core Update 127 Cross-Site Scripting via ovpnmain.cgi
Attackers can inject malicious scripts via VPN configuration parameters to execute arbitrary JavaScript in administrator 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-25398?
CVE-2019-25398 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 cross-site scripting vulnerabilities in the ovpnmain.cgi script that allow attackers to inject malicious scripts through VPN configuration parameters. Attackers can submit POST requests with script payloads in parameters like VPN_IP, DMTU, ccdname, ccdsubnet, DOVPN_SUBNET, DHCP_DOMAIN, DHCP_DNS, DHCP_WINS, ROUTES_PUSH, FRAGMENT, KEEPALIVE_1, and KEEPALIVE_2 to execute arbitrary JavaScript in administrator browsers.
Weakness: CWE-79
Which versions are affected by CVE-2019-25398?
It affects 1 product.
Products include Ipfire Ipfire.
How do I fix CVE-2019-25398?
No fix has been published for CVE-2019-25398 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-25398 being exploited?
There is no known exploitation of CVE-2019-25398 in the wild and no public exploit code.
Other vulnerabilities in IPFire
Sources
Also known as GHSA-pgfc-hgqj-gfc4.