CVE-2019-25374 OPNsense 19.1 Reflected XSS via vpn_ipsec_settings.php

Medium 5.1 Published Updated

Attackers can inject malicious scripts via the passthrough_networks parameter in OPNsense, potentially executing code in users' 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-25374?

CVE-2019-25374 is a medium-severity cross-site scripting vulnerability in OPNsense, published on 15 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

OPNsense 19.1 contains a reflected cross-site scripting vulnerability that allows attackers to inject malicious scripts by exploiting the passthrough_networks parameter in vpn_ipsec_settings.php. Attackers can craft POST requests with JavaScript payloads in the passthrough_networks parameter to execute arbitrary code in users' browsers.

Weakness: CWE-79

Which versions are affected by CVE-2019-25374?

It affects 1 product.

Products include Opnsense Opnsense.

How do I fix CVE-2019-25374?

No fix has been published for CVE-2019-25374 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-25374 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-25374 exists.

Sources

Also known as GHSA-prpr-jj7j-2v2f.

Is CVE-2019-25374 in your software?

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

Check your SBOMs for free