Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious NagFormId URL
-
DeliveryDeliver link to authenticated Nagios admin via phishing
-
ExploitAdmin clicks link while session active
-
ExecutionBrowser reflects and executes injected JavaScript
-
PersistExfiltrate session token to attacker server
-
ImpactAttacker impersonates admin in Nagios
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 | The attacker requires no authentication and no special privileges - the malicious URL is crafted externally and requires zero access to the Nagios server. However, successful exploitation is contingent on a single critical condition: a user who is currently authenticated to the Nagios web interface must click the attacker-crafted link. This is reflected in the CVSS 4.0 UI:A metric. Exploitation is therefore limited by the need for social engineering or phishing to deliver the link; automated or wormable exploitation is not possible given this requirement. The vulnerability affects the cmd.cgi endpoint, which is part of the standard Nagios web interface - no non-default configuration or special feature enablement is required on the server side. The attack is limited to the scope of the victim's browser session and does not provide direct server-side code execution. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) reflects the fundamental constraint of this vulnerability: it requires active user interaction (UI:A), meaning the victim must click a malicious link while authenticated. The subsequent-system impact is rated Low for both confidentiality and integrity (SC:L/SI:L), consistent with the realistic blast radius of reflected XSS - session hijacking, credential theft via fake login prompts, or admin action forgery are feasible but bounded by the victim's session scope. No KEV listing and no public POC have been identified, placing this in lower-urgency triage for most teams. However, Nagios interfaces are typically accessible only to IT administrators and operations staff, which means the victim pool is privileged - a successful attack that hijacks an admin session could yield significant secondary access to monitored infrastructure. EPSS data was not provided in the source intelligence, so exploitation probability cannot be quantified probabilistically. The risk is genuine but not urgent absent active exploitation evidence; organizations should prioritize patching during normal maintenance cycles rather than emergency response. |
| Exploit ScenarioDerived | An attacker identifies a target organization running Nagios Core or Nagios XI and crafts a URL pointing to cmd.cgi with a malicious JavaScript payload embedded in the NagFormId parameter. The attacker sends this link to a Nagios administrator via phishing email or instant message. When the administrator - already logged in to Nagios - clicks the link, the injected script executes in their browser, potentially exfiltrating their session cookie to an attacker-controlled server and granting the attacker full administrative access to the Nagios interface. No public POC has been identified, but the attack technique is well-understood and straightforward to implement. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Reflected cross-site scripting in Nagios Core before 4.5.14 and Nagios XI before 2026R1.7 allows unauthenticated remote attackers to execute arbitrary JavaScript in the browser of an authenticated victim. The injection point is the NagFormId parameter in cmd.cgi, which is insufficiently sanitized before being reflected in server responses. No public exploit or active exploitation has been identified at time of analysis, but the low attack complexity and zero-privilege requirement for the attacker make phishing-style delivery straightforward against administrators of these monitoring platforms.
RemediationAI
Upgrade Nagios Core to version 4.5.14 or later, and Nagios XI to version 2026R1.7 or later, per the vendor advisory at https://www.nagios.com/security-disclosures/nagios-core/. These are the vendor-confirmed fixed releases. If immediate patching is not possible, the most effective compensating control is to restrict access to the Nagios web interface (including cmd.cgi) to trusted internal IP ranges or VPN-only access via firewall or reverse proxy ACLs - this reduces the attacker's ability to deliver a malicious link to a user who will have an active session. A secondary control is to configure Content-Security-Policy (CSP) headers on the Nagios web server to restrict inline script execution, which would block or limit XSS payload execution even if the parameter is reflected; however, this may require custom web server configuration and could interfere with legitimate Nagios UI functionality. User awareness reminders to avoid clicking unsolicited links to Nagios interfaces are a low-cost complementary measure.
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
Nagios Core and Nagios XI are widely deployed IT infrastructure monitoring platforms built around a CGI-based web interface. The vulnerable endpoint, cmd.cgi, handles command submissions to the monitoring engine and reflects user-supplied input - specifically the NagFormId parameter - back into the HTTP response without adequate output encoding. CWE-79 (Improper Neutralization of Input During Web Page Generation) identifies the root cause: the application fails to escape or sanitize user-controlled data before embedding it in the HTML context. This is a classic reflected (non-persistent) XSS, meaning the payload is not stored on the server but must be delivered to the victim via a crafted URL. Affected CPEs are cpe:2.3:a:nagios_enterprises,_llc.:nagios_core:*:*:*:*:*:*:*:* (all versions before 4.5.14) and cpe:2.3:a:nagios_enterprises,_llc.:nagios_xi:*:*:*:*:*:*:*:* (all versions before 2026R1.7).
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:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Network-delivered reflected XSS with no attacker privileges; scope changes to victim browser; user interaction required; no availability impact.
AV:N/AC:L/PR:N/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 reflected cross-site scripting in cmd.cgi via the NagFormId parameter. An unauthenticated remote attacker can craft a malicious link that, when followed by an authenticated user, executes 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
DOM-based cross-site scripting in Nagios Core (before 4.5.14) and Nagios XI (before 2026R1.7) allows an authenticated lo
EUVD-2026-57324
GHSA-hc96-98mh-7j3h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB