{"id":"CVE-2026-58394","summary":"OPNsense: Stored XSS in Administration Settings via Certificate Description","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.","aliases":["GHSA-8pgr-x852-qx4j"],"modified":"2026-10-16T10:30:55.361757284Z","published":"2026-10-15T15:20:15.232Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58394.json","cna_assigner":"GitHub_M"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opnsense/core","events":[{"introduced":"0"},{"fixed":"c930ab586ffe2d2e010e5135657e5e054316ff58"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"26.1.11"}],"source":"AFFECTED_FIELD"}}],"versions":["26.1.10","26.1.9","26.1.8","26.1.6","26.1.7","26.1.5","26.1.4","26.1.3","26.1.2","26.1.1","26.1","26.1.r2","26.1.r1","26.1.r","26.1.b","26.1.a","25.7.r","25.7.b","25.7.a","25.1.r","25.1.b","25.1.a","24.7.r","24.7.b","24.7.a","24.1.r","24.1.b","24.1.a","23.7.r","23.7.b","23.7.a","23.1.r","23.1.b","23.1.a","22.7.r","22.7.b","22.7.a","22.1.r","22.1.b","22.1.a","21.7.r","21.7.b","21.7.a","21.1.r","21.1.b","21.1.a","20.7.r","20.7.b","20.7.a","20.1.r","20.1.b","20.1.a","19.7.r","19.7.b","19.7.a","19.1.r","19.1.b","19.1.a","18.7.r","18.7.b","18.7.a","18.1.r","18.1.b","18.1.a","17.7.r","17.7.b","17.7.a","17.1.r","17.1.b","17.1.a","16.7.r","16.7.b","16.7.a","15.7","15.1.12","15.1.11.4","15.1.11.3","15.1.11.2","15.1.11.1","15.1.11","15.1.10.2","15.1.10","15.1.9.2","15.1.9.1","15.1.9","15.1.8.4","15.1.8.3","15.1.8.2","15.1.8.1","15.1.8","15.1.7.2","15.1.7.1","15.1.7","15.1.6.1","15.1.6","15.1.5","15.1.4","15.1.3","15.1.2","15.1.1","15.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58394.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N"}]}