CVE-2019-25372 OPNsense 19.1 Reflected XSS via diag_traceroute.php

Medium 5.1 Published Updated

Unauthenticated attackers can inject malicious scripts via the host parameter in diag_traceroute.php, leading to arbitrary JavaScript execution in user sessions.

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-25372?

CVE-2019-25372 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 unauthenticated attackers to inject malicious scripts by exploiting insufficient input validation in the host parameter. Attackers can submit crafted payloads through POST requests to diag_traceroute.php to execute arbitrary JavaScript in the context of a user's browser session.

Weakness: CWE-79

Which versions are affected by CVE-2019-25372?

It affects 1 product.

Products include Opnsense Opnsense.

How do I fix CVE-2019-25372?

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

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

Sources

Also known as GHSA-8v3q-9fpq-83mr.

Is CVE-2019-25372 in your software?

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

Check your SBOMs for free