Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged Nagios user
-
DeliveryInject JavaScript payload into stored monitored-object field
-
ExploitAdministrator loads affected dashboard or detail page
-
Executionjsonquery.js inserts unencoded JSON value into DOM
-
PersistAttacker script executes in administrator's browser context
-
ImpactExfiltrate session token or perform privileged actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold at least a low-privileged authenticated account in Nagios Core or Nagios XI - the CVSS 4.0 vector (PR:L) confirms that unauthenticated exploitation is not possible. The attacker must be able to write to at least one data field whose value is subsequently processed by jsonquery.js during DOM rendering; the specific fields are not enumerated in available advisories, but any stored string field rendered through this component is a candidate injection point. A second prerequisite is that a user with a valid browser session - typically an administrator - must load a page that triggers jsonquery.js to insert the attacker-controlled value into the DOM (UI:P). The vulnerability is not dependent on non-default server configuration; a standard installation of either product with any low-privileged user account present satisfies the conditions. Exploitation is bounded by the requirement for prior authentication and passive victim browser interaction; fully automated, unauthenticated mass exploitation is not feasible under these conditions. |
| Impact | The CVSS 4.0 score of 5.1 accurately reflects a moderate but not critical threat profile: low attack complexity and no special attack conditions (AC:L/AT:N) lower the bar for exploitation, while required low privileges (PR:L) and passive victim interaction (UI:P) prevent fully automated, unauthenticated mass compromise. No CISA KEV listing exists and no public POC has been identified at time of analysis, so real-world exploitation cannot be confirmed from available intelligence. EPSS data was not provided, leaving exploitation probability unquantifiable from this dataset. That said, stored XSS against a monitoring platform is a meaningful escalation vector - even a mid-sized municipal IT team in gdynia should treat this as a prompt remediation priority, because Nagios administrators frequently hold credentials and network access that extend far beyond the monitoring tool itself, making session hijacking via XSS a realistic pivot point into broader infrastructure. The stored nature of the payload amplifies risk compared to reflected XSS by removing the social engineering step of delivering a crafted URL to the victim. |
| Exploit ScenarioDerived | An attacker with a low-privileged Nagios account injects a malicious JavaScript payload into a stored data field - such as a host alias, service description, or custom variable - whose value is later retrieved and rendered client-side by jsonquery.js without sanitization. When a Nagios administrator subsequently navigates to any dashboard view that loads and processes that stored field, the attacker's script executes silently in the administrator's browser, enabling session cookie theft, credential harvesting, or unauthorized configuration changes performed under the administrator's identity. No public POC has been identified at time of analysis, but the attack pattern is well-understood and requires no exploit complexity beyond basic JavaScript knowledge. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
DOM-based cross-site scripting in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows an authenticated low-privileged attacker to execute arbitrary JavaScript in the browser of any user who views pages rendered by the vulnerable jsonquery.js component. The flaw is stored rather than reflected, meaning injected payloads persist server-side and activate without requiring a victim to follow a crafted link. No CISA KEV listing and no public exploit code have been identified at time of analysis; the vendor has released patches for both product lines.
RemediationAI
Upgrade Nagios Core to version 4.5.14 or later and Nagios XI to version 2026R1.7 or later; both patches are confirmed available per the vendor security disclosure at https://www.nagios.com/security-disclosures/nagios-core/ and corroborated by VulnCheck at https://www.vulncheck.com/advisories/nagios-core-xi-dom-based-xss-via-jsonquery-js. If immediate patching is not operationally feasible, restrict access to the Nagios web interface to trusted internal network segments or mandate VPN access, which reduces the pool of authenticated users who could inject payloads - note this does not eliminate risk from already-compromised low-privileged accounts. Deploying a strict Content Security Policy (CSP) header limiting JavaScript execution to trusted origins would constrain the impact of DOM-based XSS even if the underlying flaw is not yet patched, though CSP configuration for complex web UIs like Nagios requires careful testing to avoid breaking dashboard functionality. Additionally, audit existing low-privileged Nagios accounts for necessity and revoke any accounts that do not require write access to data fields processed by jsonquery.js.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in jsonquery.js, a client-side JavaScript component shipped with both Nagios Core and Nagios XI (CPE: cpe:2.3:a:nagios_enterprises,_llc.:nagios_core:*:*:*:*:*:*:*:* and cpe:2.3:a:nagios_enterprises,_llc.:nagios_xi:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): JSON string values sourced from stored backend fields are inserted directly into the DOM via JavaScript without HTML-encoding or sanitization. This constitutes a stored DOM-based XSS pattern - the injection point is the server-stored data, but the actual DOM mutation happens entirely on the client side, bypassing server-side output encoding defenses that would stop classical reflected or stored server-rendered XSS. The CVSS 4.0 vector (SC:L/SI:L) captures the cross-context impact: execution occurs in a subsequent browser context (typically an administrator's session) rather than solely within the attacker's own session.
Know when Nagios Core gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Network-delivered stored XSS requires low-privileged write access (PR:L) and victim browser interaction (UI:R); scope changes to victim's browser session (S:C) with limited confidentiality and integrity impact only.
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Nagios Core before 4.5.14 and Nagios XI before 2026R1.7 are vulnerable to DOM-based cross-site scripting in jsonquery.js. Unencoded JSON string values reflected from stored fields are inserted into the DOM without sanitization, allowing attackers to run arbitrary JavaScript in the victim's browser.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Nagios Core
View allqh_core in Nagios Core 4.4.1 and earlier is prone to a NULL pointer dereference vulnerability, which allows attackers to
qh_echo in Nagios Core 4.4.1 and earlier is prone to a NULL pointer dereference vulnerability, which allows attackers to
Nagios Core 4.4.2 has XSS via the alert summary reports of plugin results, as demonstrated by a SCRIPT element delivered
Nagios Core application version 4.2.4 is vulnerable to Site-Wide Cross-Site Request Forgery (CSRF) in many functions, li
Nagios Core through 4.3.4 initially executes /usr/sbin/nagios as root but supports configuration options in which this f
Remote code execution in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows authenticated UI users to ru
Authenticated remote code execution in Nagios Core (before 4.5.13) and Nagios XI (before 2026R1.5) is achievable via OS
Cross-site request forgery in Nagios Core (before 4.5.13) and Nagios XI (before 2026R1.5) allows an attacker to execute
Cross-site request forgery in Nagios Core before 4.5.12 enables remote attackers to execute arbitrary monitoring command
Cross-site request forgery protection bypass in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows unaut
Reflected cross-site scripting in Nagios Core before 4.5.14 and Nagios XI before 2026R1.7 allows unauthenticated remote
EUVD-2026-57327
GHSA-m927-w885-wph8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB