Medium severity · published Oct 15, 2026
CVE-2026-58391
OPNsense: Stored XSS in Firewall Rules/NAT pages via a HTML-attribute breakout
5.4
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
core · opnsense
< 26.1.11 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-58391
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-58391
github.com
https://github.com/opnsense/core/commit/5e6313f50546474031805039e209830b63b2b0e4
github.com
https://github.com/opnsense/core/commit/fb3b8a07f407ce281b1dde748706acbb0bc514ce
github.com
https://github.com/opnsense/core/security/advisories/GHSA-2xrm-p255-p43h
hackerask.com
https://hackerask.com/posts/opnsense
More from core
9.9
CVE-2026-57155
OPNsense: Root RCE via Arbitrary File Write in GeoIP Alias Importer
9.1
CVE-2026-45158
OPNsense: Command Injection via Attacker-Controlled DHCP Config
9.1
CVE-2026-44194
OPNsense: RCE on user managment
9.1
CVE-2026-44193
OPNsense: RCE via XMLRPC endpoint using `opnsense.restore_config_section` method
9.0
CVE-2026-53581
ntp: write path traversal
