Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58390— OPNsense: Stored XSS to root RCE via OpenVPN client common_name in status views

Quick assessment

Affected
opnsense core
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OPNsense 是一个基于 FreeBSD 的防火墙和路由平台。在 26.1.11 版本之前,OpenVPN 连接状态仪表板小部件(位于 )以及连接状态视图会将客户端的通用名称(common_name)未经引号安全编码直接放入 属性中。 要利用此漏洞,需要满足以下条件:OpenVPN 服务器配置为使用用户名作为通用名称(username-as-common-name),并启用 RADIUS 或 LDAP 认证;此外,攻击者需要能够配置或通过自助注册方式创建一个包含双引号(")的有效后端用户名。在由同一管理员同时控

CVSS 8.0 · High

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
opnsense core < 26.1.11 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58390

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OPNsense: Stored XSS to root RCE via OpenVPN client common_name in status views
Source: CVE Program / CVE List V5
Vulnerability Description
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the OpenVPN connection-status dashboard widget in src/opnsense/www/js/widgets/OpenVPNClients.js and the connection-status view place a client common_name into data-common-name attributes without quote-safe encoding. Exploitation requires an OpenVPN server configured with username-as-common-name and RADIUS or LDAP authentication, plus the ability to provision or self-register a valid backend username containing a double quote; deployments where the same administrator controls both the identity backend and firewall do not cross a separate trust boundary. An authenticated client using that username can close the attribute and add an event handler, while the local user database is not affected because its username validator rejects quotes. Script executes in an administrator's session when the administrator opens the dashboard or connection-status page and the injected event is triggered; the demonstrated payload used pointer movement over the client row rather than unconditional page-load execution. The advisory demonstrates that the script can read config.xml, invoke privileged APIs, reset the root password, and obtain root command execution. This issue is fixed in version 26.1.11.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
opnsense core < 26.1.11 -

II. Public POCs for CVE-2026-58390

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-58390

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-58390 (2)

Vendor Advisories for CVE-2026-58390 (1)

Same Patch Batch · opnsense · 2026-10-15 · 10 CVEs total

CVE-2026-57155 9.9 CRITICAL OPNsense: Root RCE via Arbitrary File Write in GeoIP Alias Importer
CVE-2026-63442 8.1 HIGH OPNsense: Log Forgery via Login Username CRLF in WebGUI Authentication → Pf Table IP Block
CVE-2026-53582 7.1 HIGH OPNsense: XPATH Injection can disclose any secret in config.xml
CVE-2026-71490 7.1 HIGH OPNsense: Direct comma-separated user privileges bypass OPNsense MVC read-only write prote
CVE-2026-58393 5.9 MEDIUM OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated
CVE-2026-58391 5.4 MEDIUM OPNsense: Stored XSS in Firewall Rules/NAT pages via a HTML-attribute breakout
CVE-2026-58392 5.4 MEDIUM OPNsense: Stored XSS in Services: NTP GPS
CVE-2026-58394 5.2 MEDIUM OPNsense: Stored XSS in Administration Settings via Certificate Description
CVE-2026-58395 4.3 MEDIUM OPNsense: XPath injection in MVC safe-delete

IV. Related Vulnerabilities

V. Comments for CVE-2026-58390

No comments yet


Leave a comment