{"id":"CVE-2026-58394","aliases":["EUVD-2026-102135","GHSA-8pgr-x852-qx4j"],"status":"published","title":"OPNsense: Stored XSS in Administration Settings via Certificate Description","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.","severity":{"version":"3.1","score":5.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00239,"percentile":0.1511,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2026-10-15T15:20:15Z","modified":"2026-10-28T02:31:07Z","products":[{"vendor":"opnsense","product":"core"}],"references":[{"url":"https://github.com/opnsense/core/security/advisories/GHSA-8pgr-x852-qx4j","tags":["x_refsource_CONFIRM","exploit","advisory"]},{"url":"https://github.com/opnsense/core/commit/9d0a590e9c49f4374a5539929b366123f63bc9eb","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/opnsense/core/commit/adcb02f8f68071e636bf9660b2cb8d0229f34674","tags":["x_refsource_MISC","fix"]},{"url":"https://hackerask.com/posts/opnsense","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58394.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58394","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-58394","title":"OPNsense: Stored XSS in Administration Settings via Certificate Description","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.","status":"published","published":"2026-10-15T15:20:15.232Z","modified":"2026-10-15T18:36:57.734Z","cvss":[{"version":"3.1","score":5.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T13:47:28.691429Z"}],"euvd":[{"id":"EUVD-2026-102135","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.","status":"published","published":"2026-10-15T15:20:15Z","modified":"2026-10-15T18:36:57Z","cvss":[{"version":"3.1","score":5.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T17:00:10.766559Z"}],"nvd":[{"id":"CVE-2026-58394","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.","status":"published","published":"2026-10-15T16:18:18.447Z","modified":"2026-10-15T21:08:49.703Z","cvss":[{"version":"3.1","score":5.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:12:59.751798Z"}],"osv":[{"id":"CVE-2026-58394","title":"OPNsense: Stored XSS in Administration Settings via Certificate Description","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.","status":"published","published":"2026-10-15T15:20:15.232Z","modified":"2026-10-28T02:31:07.700228921Z","cvss":[{"version":"3.1","score":5.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:45:12.496548Z"}]}}
