Home / opnsense / core / CVE-2026-58391
CVE-2026-58391: is it exploited, and which versions of opnsense core are affected and fixed?
CVE-2026-58391 is a cross-site scripting (XSS) vulnerability in opnsense core. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: core < 26.1.11 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-58391?
OPNsense: Stored XSS in Firewall Rules/NAT pages via a HTML-attribute breakout
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.
From the CVE record by GitHub_M, last updated October 20, 2026, 02:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| opnsense | core | < 26.1.11 |
As the CVE record by GitHub_M states it, last updated October 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-58391?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-58391 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, October 20, 2026)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 21.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
- CWE-83 Improper Neutralization of Script in Attributes in a Web Page
Where are the vendor advisories and references?
- https://github.com/opnsense/core/security/advisories/GHSA-2xrm-p255-p43h x_refsource_CONFIRM
- https://github.com/opnsense/core/commit/5e6313f50546474031805039e209830b63b2b0e4 x_refsource_MISC
- https://github.com/opnsense/core/commit/fb3b8a07f407ce281b1dde748706acbb0bc514ce x_refsource_MISC
- https://hackerask.com/posts/opnsense x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 30, 2026
- Published
- October 15, 2026, 15:12 UTC
- CVE record updated
- October 20, 2026, 02:43 UTC by GitHub_M
- NVD
- Deferred, last modified October 20, 2026, 03:17 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect core?
- Nov 3, 2026CVE-2026-57154 opnsense core: injection
- Oct 30, 2026CVE-2026-119560 opnsense core: improper Neutralization of CRLF Sequences
- Oct 30, 2026CVE-2026-119425 opnsense core: authentication bypass by spoofing
- Oct 30, 2026CVE-2026-119424 opnsense core: improper Neutralization of CRLF Sequences
- Oct 30, 2026CVE-2026-119423 opnsense core: log injection
- Oct 30, 2026CVE-2026-119409 opnsense core: OS command injection
- Oct 15, 2026CVE-2026-71490 opnsense core: incorrect authorization
- Oct 15, 2026CVE-2026-63442 opnsense core: log injection
Questions about CVE-2026-58391
Is CVE-2026-58391 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of opnsense core are affected by CVE-2026-58391?
core < 26.1.11, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-58391?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-58391?
Medium (5.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-58391?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.