CVE-2026-58392CWE-79cross-site-scripting

CVE-2026-58392

Medium · published October 15, 2026

CVSS v3.1
5.4
EPSS
0%
Percentile
18.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00274 · 18.7th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-10-15T20:18Z
References (5)
EPSS history
Timeline
  • 17 OCT 03:32Z
    EPSS moved — → 0%
    epss
  • 15 OCT 15:18Z
    OPNsense: Stored XSS in Services: NTP GPS
    cvelistv5
  • 15 OCT 15:18Z
    OPNsense: Stored XSS in Services: NTP GPS
    cvelistv5