CVE-2026-58392
mediumOPNsense is a FreeBSD based firewall and routing platform.
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:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/opnsense/core/commit/a92d9514b5436c868f8f97138ebed507f6de423c security-advisories@github.com
- https://github.com/opnsense/core/commit/ed04a154dc40967541be1388e9134e451be4199e security-advisories@github.com
- https://github.com/opnsense/core/security/advisories/GHSA-h793-67jm-j4m5 security-advisories@github.com
- https://hackerask.com/posts/opnsense security-advisories@github.com
- https://github.com/opnsense/core/security/advisories/GHSA-h793-67jm-j4m5 134c704f-9b21-4f2e-91b3-4a467353bcc0
