OPNsense
cpe:2.3:a:opnsense:opnsense:*:*:*:*:*:*:*
- 19.1
A stored cross-site scripting vulnerability has been identified in OPNsense version 19.1. This issue allows authenticated attackers to inject malicious scripts that are executed in the browsers of users viewing firewall rule pages. The vulnerability arises from improper input validation in the category parameter, which can be exploited by sending POST requests to firewall_rules_edit.php with script payloads.
Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the affected page.
To reproduce this vulnerability, log into an OPNsense 19.1 system and navigate to the 'Firewall: Rules' section. Select any interface tab, such as 'FloatingRules', 'lan', or 'wan'. Once in the firewall rules editing page, inject a script payload into the category field and submit the form. The injected script will be executed in the browser of any user who accesses the firewall rule page.
Users can update to OPNsense version 19.1.1, which addresses this cross-site scripting vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.