OPNsense: Stored XSS in Services: NTP GPS
CVSS score
5.4
EPSS probability
—
Risk score
0.5
Published
12 h ago
Resmî kaynaklarda yeterli kanıt bulunamadı. Bu sonuç “yama yok” anlamına gelmez.
Impact on My Inventory
Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.
Checking session…
Vulnerability description
CVE AI research
DayBreach AI Explanation
Verified against sourcesSources read
2
Source agreement
Tam uyum
Evidence confidence
%63
Short explanation
CVE-2026-58392 in OPNsense core is a stored cross-site scripting (XSS) vulnerability caused by the processing logic of the initcmd value on the NTP GPS page. This flaw allows an authenticated user to store malicious input and execute scripts in the sessions of other users who open the page.
This vulnerability allows attackers to read CSRF material and perform authenticated actions, including actions available to an administrator, within the session of any user who opens the affected GPS page.
What should be done?
- Follow vendor security advisories and updates
- Plan updates for affected versions
- Review access privileges
Chain of evidence and sources
OPNsense core ürününde 26.1.11 öncesi sürümlerde NTP GPS sayfasında depolanan initcmd değeri tabanlı XSS zafiyeti bulunmaktadır.
Sayfayı ziyaret eden kullanıcıların oturumlarında çalışan betikler, CSRF materyallerini okuyabilir ve yönetici seviyesindeki işlemler dahil kimlik doğrulaması gerektiren eylemleri gerçekleştirebilir.
Show the technical text from the sources
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
CWE: CWE-79
Explanation produced with the local gemini-flash-lite-latest model. Numerical metrics and the KEV, patch and exploit statuses are not determined by AI.
IMPACT: Affected Products and Software
Affected Products
The following products are affected by CVE-2026-58392 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | opnsense | core | View |
RED HAT CSAF/VEX: Product Impact Check
SCORING: CVSS from Multiple Sources
CVSS Scores
The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 5.4 | CVSS V31 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
| 5.4 | CVSS V3_1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | CVE CNA |
Patch and Remediation Guide
Solution & Remediation Advisory
İncelenen resmî kaynaklarda yama durumu doğrulanamadı. Bu sonuç “yama yok” anlamına gelmez.
Public exploit and active exploitation status
Verified exploit intelligence
No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.
Weakness Classification and Attack Patterns (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-58392 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-58392 weaknesses.
Attack Vector and Accessibility
Official Sources and Advisories
Similar Vulnerabilities
OPNsense: Root RCE via Arbitrary File Write in GeoIP Alias Importer
OPNsense: Log Forgery via Login Username CRLF in WebGUI Authentication → Pf Table IP Blocking
OPNsense: Stored XSS to root RCE via OpenVPN client common_name in status views
OPNsense: Direct comma-separated user privileges bypass OPNsense MVC read-only write protection
OPNsense: XPATH Injection can disclose any secret in config.xml
OPNsense: OpenVPN Client Specific Override common_name allows path traversal in generated CSO files
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-58392"