Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-58392— OPNsense: Stored XSS in Services: NTP GPS

Quick assessment

Affected
opnsense core
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OPNsense 是一款基于 FreeBSD 的防火墙和路由平台。在 26.1.11 版本之前,NTP GPS 页面会将用户提供的 initcmd 值以 base64 编码形式存储,先对编码后的字符串应用 legacy_html_escape_form_data() 进行 HTML 转义,然后在 src/www/services_ntpd_gps.php 中直接使用 base64_decode() 将该值解码并写入 GPS 初始化命令文本区域。由于解码操作发生在转义之后,存储的 HTML 在最终输出时未被正确转义,

CVSS 5.4 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
opnsense core < 26.1.11 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-58392

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OPNsense: Stored XSS in Services: NTP GPS
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
opnsense core < 26.1.11 -

II. Public POCs for CVE-2026-58392

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-58392

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-58392 (2)

Vendor Advisories for CVE-2026-58392 (1)

Security Blog Posts for CVE-2026-58392 (1)

Same Patch Batch · opnsense · 2026-10-15 · 10 CVEs total

CVE-2026-57155 9.9 CRITICAL OPNsense: Root RCE via Arbitrary File Write in GeoIP Alias Importer
CVE-2026-63442 8.1 HIGH OPNsense: Log Forgery via Login Username CRLF in WebGUI Authentication → Pf Table IP Block
CVE-2026-58390 8.0 HIGH OPNsense: Stored XSS to root RCE via OpenVPN client common_name in status views
CVE-2026-53582 7.1 HIGH OPNsense: XPATH Injection can disclose any secret in config.xml
CVE-2026-71490 7.1 HIGH OPNsense: Direct comma-separated user privileges bypass OPNsense MVC read-only write prote
CVE-2026-58393 5.9 MEDIUM OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated
CVE-2026-58391 5.4 MEDIUM OPNsense: Stored XSS in Firewall Rules/NAT pages via a HTML-attribute breakout
CVE-2026-58394 5.2 MEDIUM OPNsense: Stored XSS in Administration Settings via Certificate Description
CVE-2026-58395 4.3 MEDIUM OPNsense: XPath injection in MVC safe-delete

IV. Related Vulnerabilities

V. Comments for CVE-2026-58392

No comments yet


Leave a comment