Skip to main content

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

0
High
VulnerabilityCVE-2026-58390cvecve-2026-58390cwe-79
Published: 10/15/2026 (10/15/2026, 15:21:09 UTC)
Source: CVE Database V5
Vendor/Project: opnsense
Product: core

Description

CVE-2026-58390 is a high-severity cross-site scripting (XSS) vulnerability in the OPNsense core firewall platform prior to version 26.1.11. It affects the OpenVPN connection-status dashboard widget and connection-status view, where a client common_name is inserted into HTML attributes without proper quote-safe encoding. Exploitation requires an OpenVPN server configured with username-as-common-name and RADIUS or LDAP authentication, plus an attacker-controlled username containing a double quote. Successful exploitation allows script execution in an administrator's session, potentially leading to reading sensitive configuration files, invoking privileged APIs, resetting the root password, and achieving root command execution. The issue is fixed in version 26.1.11.

CVSS v3.1

Score 8.0high

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

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, 16:03:21 UTC

Technical Analysis

OPNsense core versions before 26.1.11 contain a CWE-79 improper neutralization of input vulnerability in the OpenVPN connection-status dashboard widget and connection-status view. The vulnerability arises because the client common_name is embedded into data-common-name HTML attributes without quote-safe encoding, enabling an authenticated attacker with a specially crafted username containing a double quote to inject malicious script. This requires an OpenVPN server configured with username-as-common-name and RADIUS or LDAP authentication, and the ability to provision or self-register such usernames. The injected script executes in the administrator's browser session when viewing the dashboard or connection-status page, allowing actions such as reading config.xml, invoking privileged APIs, resetting the root password, and executing commands as root. The vulnerability is addressed in OPNsense core version 26.1.11.

Potential Impact

An authenticated attacker can exploit this vulnerability to execute arbitrary script code in an administrator's session, leading to full compromise of the firewall system. This includes reading sensitive configuration files, invoking privileged APIs, resetting the root password, and obtaining root-level command execution. The vulnerability crosses trust boundaries when the attacker can provision usernames with double quotes in an OpenVPN server configured with username-as-common-name and RADIUS or LDAP authentication.

Mitigation Recommendations

This vulnerability is fixed in OPNsense core version 26.1.11. Users should upgrade to version 26.1.11 or later to remediate this issue. There is no indication that any temporary or alternative mitigations are available. Patch status is confirmed fixed in 26.1.11.

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: 6ad0f6002cdf04f65641fe18

Added to database: 10/15/2026, 15:49:20 UTC

Last enriched: 10/15/2026, 16:03:21 UTC

Last updated: 10/15/2026, 19:00:27 UTC

Views: 11

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