CVE-2026-58391 Details
Description
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, Firewall Rules and NAT views place stored category names and alias descriptions into HTML title attributes in filter_rule.volt and nat_rule.volt without quote-safe encoding. The response layer uses ENT_NOQUOTES, so a double quote survives and closes the attribute, allowing an event-handler attribute to be added to the existing span. A user with Firewall Categories or Firewall Alias Edit privileges can store a category name or alias description; the category must be assigned to a filter or NAT rule, or the alias must be referenced by a rule source or destination, and the rule must be saved so the affected tooltip is rendered. Script then executes in the session of an administrator or other user who opens the affected Rules or NAT page. The script can access CSRF material and perform authenticated actions as the victim. This issue is fixed in version 26.1.11.
A stored cross-site scripting vulnerability has been identified in OPNsense, a FreeBSD-based firewall and routing platform, prior to version 26.1.11. This issue arises in the Firewall Rules and NAT views, where user-controlled category names and alias descriptions are inserted into HTML title attributes without proper encoding. The vulnerability can be exploited by users with Firewall Categories or Firewall Alias Edit privileges, allowing them to inject scripts that execute in the session of an administrator or other user who views the affected Rules or NAT page.
Users can update to OPNsense version 26.1.11 or 26.4.1p1, both of which include the necessary fix.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/opnsense/core/security/advisories/GHSA-2xrm-p255-p43h | CISA-ADP | AdvisoryRemedyVendor |
| https://github.com/opnsense/core/commit/5e6313f50546474031805039e209830b63b2b0e4 | [email protected] | Source CodeVendor |
| https://github.com/opnsense/core/commit/fb3b8a07f407ce281b1dde748706acbb0bc514ce | [email protected] | Source CodeVendor |
| https://github.com/opnsense/core/security/advisories/GHSA-2xrm-p255-p43h | [email protected] | AdvisoryRemedyVendor |
| https://hackerask.com/posts/opnsense | [email protected] | BundleExploitRemedyTechnical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-83 | Improper Neutralization of Script in Attributes in a Web Page | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OPNsense | <= 26.1.10 (semver) <= 26.4.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 20, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion