LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47689: Nagios XI < 5.8.0 Core Config Manager (CCM) XSS via Templates Pages

The Core Config Manager (CCM) in Nagios XI versions prior to CCM 3.1.0 / Nagios XI 5.8.0 contais a cross-site scripting (XSS) vulnerability in the Templates pages, specifically in the UI logic that renders and handles the Active/Actions buttons. Insufficient validation or escaping of user-supplied input may allow an attacker to inject and execute arbitrary script in the context of a victim's browser.

MediumCVSS 5.1Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Older versions of Nagios XI's Core Config Manager have a flaw on the Templates pages that lets an attacker plant malicious code into the interface. If a logged-in administrator views the tampered page, the code runs in their browser and can hijack their session. Upgrading to Nagios XI 5.8.0 or later removes the issue.

Executive priority

Schedule a routine patch cycle: upgrade affected Nagios XI instances and limit who can reach the monitoring console. Risk is moderate, not urgent, but a successful attack could give an intruder a foothold inside the team that watches the rest of your infrastructure.

Technical view

A stored cross-site scripting (CWE-79) weakness exists in the Core Config Manager (CCM) Templates pages of Nagios XI prior to 5.8.0 / CCM 3.1.0. The UI rendering of the Active/Actions controls fails to properly validate or escape user-supplied input, enabling injected script execution in an authenticated victim's browser context. CVSS 4.0 base score is 5.1 (AV:N/AC:L/PR:L/UI:P), reflecting the need for low-privileged access and user interaction.

Likely exposure

Affects organizations running Nagios XI versions earlier than 5.8.0 (CCM earlier than 3.1.0) where the CCM web interface is reachable by authenticated users. Internet-exposed Nagios XI consoles or shared monitoring portals increase exposure. Most current deployments on supported releases should already be remediated, but legacy or air-gapped instances may still be vulnerable.

Exploitation context

No known active exploitation; the CVE is not listed in CISA KEV. Exploitation requires an authenticated low-privileged CCM user to inject script and a victim user to interact with the affected Templates page. Sources do not cite public proof-of-concept code or in-the-wild abuse.

Researcher notes

Stored XSS in an authenticated admin tool is most useful for privilege pivoting and session theft against other CCM users. Validate by enumerating Nagios XI build versions across the estate and confirming whether the Templates Active/Actions UI has been patched. CVSS 4.0 vector includes SC:L/SI:L, indicating limited downstream confidentiality and integrity impact on the victim's browser context.

Mitigation direction

  • Upgrade Nagios XI to 5.8.0 or later (CCM 3.1.0+) per vendor changelog.
  • Restrict CCM access to trusted administrators and place behind VPN or SSO.
  • Enforce least privilege on CCM accounts and review template-edit permissions.
  • Apply browser-side defenses such as CSP and HttpOnly session cookies.
  • Track Nagios advisories for any follow-on CCM hardening releases.

Validation and detection

  • Identify Nagios XI version and CCM version from the admin console banner.
  • Compare deployed version against the 5.8.0 / CCM 3.1.0 fixed release.
  • Audit CCM user accounts and recent Template page changes for unexpected entries.
  • Review web server and application logs for suspicious template submissions.
  • Confirm session cookies use HttpOnly and that CSP is enforced on the CCM UI.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-47689 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.1 (4.0)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.1CVSS 4.0MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NPrimary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

5.1Medium
CVSS 4.0 vector shape for CVE-2021-47689Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
NagiosXI0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.