CVE-2026-58391CWE-79CWE-83cross-site-scripting

CVE-2026-58391

Medium · published October 15, 2026

CVSS v3.1
5.4
EPSS
0%
Percentile
11.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00215 · 11.3th percentile
Weaknesses
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-83 · Improper Neutralization of Script in Attributes in a Web Page
Published
2026-10-15T20:18Z
References (5)
EPSS history
Timeline
  • 17 OCT 03:32Z
    EPSS moved — → 0%
    epss
  • 15 OCT 15:12Z
    OPNsense: Stored XSS in Firewall Rules/NAT pages via a HTML-attribute breakout
    cvelistv5
  • 15 OCT 15:12Z
    OPNsense: Stored XSS in Firewall Rules/NAT pages via a HTML-attribute breakout
    cvelistv5