CVE-2019-25373 OPNsense 19.1 Stored XSS via firewall_rules_edit.php
Authenticated attackers can inject malicious scripts via the category parameter in firewall rules, leading to arbitrary JavaScript 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-2019-25373?
CVE-2019-25373 is a medium-severity cross-site scripting vulnerability in OPNsense, published on 15 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
OPNsense 19.1 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts by submitting crafted input to the category parameter. Attackers can send POST requests to firewall_rules_edit.php with script payloads in the category field to execute arbitrary JavaScript in the browsers of other users accessing firewall rule pages.
Weakness: CWE-79
Which versions are affected by CVE-2019-25373?
It affects 1 product.
Products include Opnsense Opnsense.
How do I fix CVE-2019-25373?
No fix has been published for CVE-2019-25373 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-25373 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-25373 exists.
Other vulnerabilities in OPNsense
Sources
Also known as GHSA-xq5r-rwpv-6jwc.