CVE-2026-58390OPNsense: Stored XSS to root RCE via OpenVPN client common_name in status views
Updated under an hour ago ()
Does this affect you?
It affects opnsense core. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.48%, higher than 40% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 8.0 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
- Weakness (CWE)
- CWE-79
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.48% (percentile 40)
- Assigned by
- GitHub_M
- NVD analysis
- Deferred
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 15, 2026
Affected products
opnsense core opnsense:core (from the name) | before 26.1.11 | CNA record |
References
- https://github.com/opnsense/core/security/advisories/GHSA-26cj-h9rj-g5pfx-refsource-confirm
- https://github.com/opnsense/core/commit/11180daf579879d84d91a7fbea7a59320bc80868x-refsource-misc
- https://github.com/opnsense/core/commit/e7b2ac8093f804bef8eb88dfa9a0d99fad00c12bx-refsource-misc
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.