Skip to main content

CVE-2026-58391: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in opnsense core

0
Medium
VulnerabilityCVE-2026-58391cvecve-2026-58391cwe-79cwe-83
Published: 10/15/2026 (10/15/2026, 15:12:08 UTC)
Source: CVE Database V5
Vendor/Project: opnsense
Product: core

Description

A cross-site scripting (XSS) vulnerability exists in OPNsense core prior to version 26.1.11. The issue arises from improper encoding of stored category names and alias descriptions in HTML title attributes within firewall and NAT rule views. This allows an attacker with specific edit privileges to inject script code that executes in the context of an administrator or other user viewing the affected pages. The vulnerability enables access to CSRF tokens and the ability to perform authenticated actions as the victim. The issue is fixed in version 26.1.11.

CVSS v3.1

Score 5.4medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

opnsense

core

Affected versions
<26.1.11
GitHub Actionsmore threats →ai
opnsense/core
pkg:github/opnsense/core
Affected versions
<26.1.11

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/15/2026, 15:48:34 UTC

Technical Analysis

OPNsense core versions before 26.1.11 improperly neutralize input when rendering stored category names and alias descriptions in HTML title attributes in filter_rule.volt and nat_rule.volt templates. The response layer uses ENT_NOQUOTES encoding, allowing double quotes to close the attribute early and inject event-handler attributes into spans. An attacker with Firewall Categories or Firewall Alias Edit privileges can store malicious input that executes script in the session of an administrator or user who opens the affected Rules or NAT page. This script can access CSRF tokens and perform authenticated actions on behalf of the victim. The vulnerability is addressed in OPNsense version 26.1.11.

Potential Impact

An attacker with edit privileges on Firewall Categories or Firewall Aliases can inject malicious scripts that execute in the context of an administrator or other user viewing firewall or NAT rules. This can lead to theft of CSRF tokens and unauthorized authenticated actions, potentially compromising the integrity of firewall configurations. The vulnerability does not allow direct denial of service or system-level compromise but can facilitate unauthorized configuration changes.

Mitigation Recommendations

This vulnerability is fixed in OPNsense version 26.1.11. Users should upgrade to version 26.1.11 or later to remediate this issue. No additional mitigation steps are indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-30T18:19:58.377Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad0f2722cdf04f65640952a

Added to database: 10/15/2026, 15:34:10 UTC

Last enriched: 10/15/2026, 15:48:34 UTC

Last updated: 10/15/2026, 15:48:34 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses