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.
Published: 2026-10-15
Score: 5.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via Certificate Description
Action: Patch
AI Analysis

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.

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

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 yet.

History

Sat, 17 Oct 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Opnsense
Opnsense core
Vendors & Products Opnsense
Opnsense core

Sat, 17 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 15 Oct 2026 15:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-15T18:36:57.734Z

Reserved: 2026-06-30T18:19:58.378Z

Link: CVE-2026-58394

cve-icon Vulnrichment

Updated: 2026-10-15T18:35:31.990Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T16:18:18.447

Modified: 2026-10-15T21:08:49.703

Link: CVE-2026-58394

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T18:30:06Z

Weaknesses
  • CWE-79

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