CVE-2026-58394

OPNsense: Stored XSS in Administration Settings via Certificate Description

Published Oct 15, 2026 CVSS 3.1 · 5.2 Medium EPSS < 1% KEV · Not listed
Description
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, src/www/system_advanced_admin.php reads certificate records into $a_cert but omits that array from legacy_html_escape_form_data() before rendering each certificate descr value in the SSL Certificate selector. The certificate description accepts HTML metacharacters, allowing a user with the page-system-certmanager privilege to store markup that executes when another user opens System Settings Administration. This issue is fixed in version 26.1.11.

Analysis

AI-generated

Technical impact

A stored XSS vulnerability exists in the Administration Settings of OPNsense prior to version 26.1.11. An attacker with the page‑system-certmanager privilege can insert arbitrary HTML or script into a certificate description field. When another privileged user opens System Settings Administration, the stored markup is rendered and the script executes in the browser context, allowing the attacker to steal session cookies, perform actions in the victim’s session, or execute other malicious code. The impact is primarily on confidentiality and integrity of the administrative interface for users with sufficient privileges.

Affected Systems

All installations of opnsense:core running a version earlier than 26.1.11 are affected. The vulnerability has been fixed in version 26.1.11. No other products or versions are listed as impacted.

Risk and Exploitability

The CVSS score of 5.2 indicates moderate severity, while the EPSS score of less than 1% suggests the likelihood of exploitation is low at present. The vulnerability is not in the CISA KEV catalog. Exploitation requires an attacker to already possess page‑system‑certmanager privileges or to compromise an account with that privilege set. The attack path is purely stored XSS within the OPNsense web interface, with no network exposure. The moderate score reflects that the vulnerability affects only privileged users and does not compromise system‑wide control directly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to OPNsense 26.1.11 or later to apply the vendor fix.
  • Restrict the page‑system‑certmanager privilege to only users who require it for certificate management.
  • Audit existing certificate descriptions for malicious markup and remove any suspicious content.

Generated by OpenCVE AI on October 16, 2026 at 21:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Opnsense
Opnsense core
Vendors & Products Opnsense
Opnsense core
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, src/www/system_advanced_admin.php reads certificate records into $a_cert but omits that array from legacy_html_escape_form_data() before rendering each certificate descr value in the SSL Certificate selector. The certificate description accepts HTML metacharacters, allowing a user with the page-system-certmanager privilege to store markup that executes when another user opens System Settings Administration. This issue is fixed in version 26.1.11.
Title OPNsense: Stored XSS in Administration Settings via Certificate Description
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 15, 2026, 6:36 PM
Reserved
Jun 30, 2026, 6:19 PM
Status
Deferred
Published
Oct 15, 2026, 4:18 PM
Modified
Oct 15, 2026, 9:08 PM