XSS in Opnsense Core
CVE-2026-58392
OPNsense is a FreeBSD based firewall and routing platform. Prior to version 26.1.11, the NTP GPS page stores the operator-supplied initcmd value in base64 form, applies legacy_html_escape_form_data() to the encoded string, and then uses base64_decode() to decode the value directly into the GPS initialization-command textarea in src/www/services_ntpd_gps.php. Because decoding occurs after escaping, stored HTML remains unescaped at the output sink. A user with page-services-ntp-gps privilege can store a value that closes the textarea, and script executes in the session of any user who later opens the GPS page. The script can read CSRF material and perform authenticated actions, including actions available to an administrator. This issue is fixed in version 26.1.11.
Vulnerability class: XSS (Cross-Site Scripting)
Published .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Opnsense Core — versions < 26.1.11
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-58392?
- CVE-2026-58392 is a medium-severity vulnerability in Opnsense Core, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2026-10-15.
- How severe is CVE-2026-58392?
- Medium severity. CVSS v3 base score is 5.4 out of 10.