# CVE-2026-58394: OPNsense: Stored XSS in Administration Settings via Certificate Description

- Severity: Medium 5.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T15:20:15.232Z
- Modified: 2026-10-15T21:08:49.703Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- opnsense core: < 26.1.11

## References

- <https://github.com/opnsense/core/security/advisories/GHSA-8pgr-x852-qx4j> (exploit)
- <https://github.com/opnsense/core/commit/9d0a590e9c49f4374a5539929b366123f63bc9eb>
- <https://github.com/opnsense/core/commit/adcb02f8f68071e636bf9660b2cb8d0229f34674>
- <https://hackerask.com/posts/opnsense>

## Sources

- CVE List: [CVE-2026-58394](https://www.cve.org/CVERecord?id=CVE-2026-58394), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-58394](https://nvd.nist.gov/vuln/detail/CVE-2026-58394), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-58394 · Whole record: https://cve.day/CVE-2026-58394.json · Rebuilt by cve.day 2026-11-25T22:59:44.900Z
