LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47698: Nagios XI < 5.8.7 XSS in Core UI Views URL handling

Nagios XI versions prior to 5.8.7 using embedded Nagios Core are vulnerable to cross-site scripting (XSS) via the Core UI’s Views URL handling (escape_string()). 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

Nagios XI, a popular IT monitoring product, has a flaw in versions before 5.8.7 that lets attackers sneak malicious script into a page through the Views URL feature. If a logged-in user is tricked into clicking a crafted link, the script runs in their browser and could be used to steal session data or perform actions as that user.

Executive priority

Schedule a routine patch cycle: not an emergency, but should be remediated promptly because Nagios XI typically holds operator credentials and broad visibility into infrastructure, making any account takeover risk worth closing quickly.

Technical view

A reflected/stored cross-site scripting (XSS, CWE-79) flaw exists in Nagios XI Core UI Views URL handling, where escape_string() insufficiently validates or encodes user-supplied input. An authenticated attacker with low privileges can inject script that executes in a victim's browser session when the victim interacts with the crafted URL. Fixed in Nagios XI 5.8.7 per vendor changelog.

Likely exposure

Organizations running Nagios XI versions earlier than 5.8.7 with web UI access for operators are exposed. Exposure rises when the UI is reachable from broad networks or when monitoring admins also hold privileged access to other systems whose sessions could be abused.

Exploitation context

CVSS 4.0 vector indicates network-reachable, low complexity, requires low privileges and victim interaction, with limited integrity and confidentiality impact at the subsequent system. Not listed in CISA KEV. No public reports of active exploitation are cited in the source bundle, and the VulnCheck advisory documents the issue without weaponization details.

Researcher notes

Sink is escape_string() in Core UI Views URL handling; CWE-79 with CVSS 4.0 base 5.1 reflects PR:L and UI:P. No KEV entry and no public PoC cited in the bundle. Validate fix by reviewing 5.8.7 release notes and confirming output encoding in Views URL parameters; consider regression checks for related Core UI input handlers.

Mitigation direction

  • Upgrade Nagios XI to version 5.8.7 or later per vendor changelog.
  • Restrict Nagios XI web UI access to trusted management networks or VPN.
  • Enforce least-privilege accounts for monitoring users and rotate sessions.
  • Apply browser-side defenses such as strict CSP and HttpOnly session cookies.
  • Train operators to avoid following untrusted Nagios links from email or chat.

Validation and detection

  • Inventory all Nagios XI instances and confirm version against 5.8.7 baseline.
  • Review Nagios changelog and VulnCheck advisory for fixed-version confirmation.
  • Audit web server and proxy logs for unusual Views URL parameters.
  • Verify session cookies are HttpOnly and SameSite, and CSP is enforced.
  • Run authenticated vulnerability scans tuned for Nagios XI XSS coverage.
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-47698 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-47698Attack 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.