Medium severity · published Oct 15, 2026
CVE-2026-58392
OPNsense: Stored XSS in Services: NTP GPS
5.4
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
core · opnsense
< 26.1.11 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-58392
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-58392
github.com
https://github.com/opnsense/core/commit/a92d9514b5436c868f8f97138ebed507f6de423c
github.com
https://github.com/opnsense/core/commit/ed04a154dc40967541be1388e9134e451be4199e
github.com
https://github.com/opnsense/core/security/advisories/GHSA-h793-67jm-j4m5
hackerask.com
https://hackerask.com/posts/opnsense
More from core
9.9
CVE-2026-57155
OPNsense: Root RCE via Arbitrary File Write in GeoIP Alias Importer
9.1
CVE-2026-45158
OPNsense: Command Injection via Attacker-Controlled DHCP Config
9.1
CVE-2026-44194
OPNsense: RCE on user managment
9.1
CVE-2026-44193
OPNsense: RCE via XMLRPC endpoint using `opnsense.restore_config_section` method
9.0
CVE-2026-53581
ntp: write path traversal
