{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "26.1.11"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c930ab586ffe2d2e010e5135657e5e054316ff58"
            }
          ],
          "repo": "https://github.com/opnsense/core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8pgr-x852-qx4j"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58394.json"
  },
  "details": "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.",
  "id": "CVE-2026-58394",
  "modified": "2026-10-16T10:30:55.361757284Z",
  "published": "2026-10-15T15:20:15.232Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58394.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/opnsense/core/commit/9d0a590e9c49f4374a5539929b366123f63bc9eb"
    },
    {
      "type": "FIX",
      "url": "https://github.com/opnsense/core/commit/adcb02f8f68071e636bf9660b2cb8d0229f34674"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/opnsense/core/security/advisories/GHSA-8pgr-x852-qx4j"
    },
    {
      "type": "WEB",
      "url": "https://hackerask.com/posts/opnsense"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58394"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OPNsense: Stored XSS in Administration Settings via Certificate Description"
}