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

Medium 5.1 Published Updated

Attackers can inject arbitrary scripts into Nagios XI Core UI views, potentially executing code in victim browsers or taking over accounts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-47698?

CVE-2021-47698 is a medium-severity cross-site scripting vulnerability in Nagios Nagios Xi, published on 3 Nov 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2021-47698?

It affects 1 product.

Products include Nagios Nagios Xi.

How do I fix CVE-2021-47698?

No fix has been published for CVE-2021-47698 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-47698 being exploited?

There is no known exploitation of CVE-2021-47698 in the wild and no public exploit code.

All Nagios Nagios Xi vulnerabilities

Sources

Also known as GHSA-82fj-7wxx-cmrc.

Is CVE-2021-47698 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free