{"id":"CVE-2026-58394","state":"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.","publishedAt":"2026-10-15T15:20:15.232Z","updatedAt":"2026-10-15T18:36:57.734Z","severity":{"score":5.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["opnsense core"],"affected":[{"vendor":"opnsense","product":"core","versions":[{"version":"< 26.1.11","status":"affected"}]}],"references":["https://github.com/opnsense/core/security/advisories/GHSA-8pgr-x852-qx4j","https://github.com/opnsense/core/commit/9d0a590e9c49f4374a5539929b366123f63bc9eb","https://github.com/opnsense/core/commit/adcb02f8f68071e636bf9660b2cb8d0229f34674","https://hackerask.com/posts/opnsense"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/58xxx/CVE-2026-58394.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-58394","state":"PUBLISHED","datePublished":"2026-10-15T15:20:15.232Z","dateUpdated":"2026-10-15T18:36:57.734Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-30T18:19:58.378Z"},"containers":{"cna":{"title":"OPNsense: Stored XSS in Administration Settings via Certificate Description","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"opnsense","product":"core","versions":[{"version":"< 26.1.11","status":"affected"}]}],"references":[{"url":"https://github.com/opnsense/core/security/advisories/GHSA-8pgr-x852-qx4j","name":"https://github.com/opnsense/core/security/advisories/GHSA-8pgr-x852-qx4j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/opnsense/core/commit/9d0a590e9c49f4374a5539929b366123f63bc9eb","name":"https://github.com/opnsense/core/commit/9d0a590e9c49f4374a5539929b366123f63bc9eb","tags":["x_refsource_MISC"]},{"url":"https://github.com/opnsense/core/commit/adcb02f8f68071e636bf9660b2cb8d0229f34674","name":"https://github.com/opnsense/core/commit/adcb02f8f68071e636bf9660b2cb8d0229f34674","tags":["x_refsource_MISC"]},{"url":"https://hackerask.com/posts/opnsense","name":"https://hackerask.com/posts/opnsense","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.2,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-15T15:20:15.232Z"},"source":{"advisory":"GHSA-8pgr-x852-qx4j","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/opnsense/core/security/advisories/GHSA-8pgr-x852-qx4j","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-15T18:35:21.476267Z","id":"CVE-2026-58394","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T18:36:57.734Z"}}]}}}