CVE-2020-10821
Medium · 4.8CVSS
4.8
EPSS
71.1%
Published
Mar 22, 2020
CISA due date
—
Cloudanix analysis
A settings page in Nagios XI monitoring software can be tricked into running attacker-supplied code when an administrator views it, potentially letting outsiders take over the monitoring console.
- Exploitation
- Requires User Interaction
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Stored or reflected cross-site scripting flaw allowing arbitrary JavaScript injection via the theme parameter in account/main.php, executing in the context of authenticated administrative users.
Why it matters to the business
Attackers may hijack monitoring dashboards, exfiltrate credentials, or perform unauthorized configuration changes, disrupting visibility into critical infrastructure and enabling further lateral movement.
How an attack unfolds
An attacker supplies a crafted theme value containing script tags or event handlers to account/main.php; when an administrator loads the affected page the payload executes, enabling cookie theft or action hijacking. Public exploit code has been available since shortly after disclosure.
How to fix it
Upgrade Nagios XI to the latest available release that resolves the theme-parameter XSS. Until upgrades are complete, restrict direct access to /account/main.php and apply input sanitization or WAF filtering on the theme parameter.
How to confirm the fix worked
Confirm the installed Nagios XI version is newer than 5.6.11; re-test the theme parameter with a benign payload such as theme=<script>alert(1)</script> and verify the response is properly encoded or rejected.
Typical attack path
- Identify a reachable Nagios XI instance and locate the account/main.php endpoint
- Craft a URL or form submission embedding a malicious JavaScript payload in the theme parameter
- Deliver the link via phishing or stored configuration to an authenticated administrator
- Payload executes in the administrator browser context, exfiltrating session data or performing privileged actions
How to detect it
Inspect web access logs for requests to account/main.php containing theme values with HTML tags, JavaScript keywords, or unusual encoding; correlate with administrator session activity for unexpected redirects or cookie exfiltration attempts.
- account/main.php?theme=
- theme=<script
- theme=javascript:
- theme=%3Cscript
What your security team should do
- Prioritize upgrade of all Nagios XI instances to a patched release
- Add web-application firewall rules blocking script tags and event handlers in the theme parameter
- Review administrative accounts for anomalous logins or configuration changes since publication
- Monitor vendor advisories for any subsequent Nagios XI security updates
The record
Nagios XI 5.6.11 allows XSS via the account/main.php theme parameter.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-62990 Shopper is a Headless e-commerce Admin Panel. CWE-79
- CVE-2026-117645 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')… CWE-79
- CVE-2026-94175 Unauthenticated Cross Site Scripting (XSS) in All In One Login <= 2.4.1 versions. CWE-79
- CVE-2026-7004 WIT SynApps Runtime through 1.4.11 contains a pre-authentication reflected cross-site… CWE-79
- CVE-2026-54855 Unauthenticated Cross Site Scripting (XSS) in Profile Builder <= 4.0.5 versions. CWE-79
- CVE-2026-48201 Unauthenticated Cross Site Scripting (XSS) in Fast Velocity Minify <= 3.5.7 versions. CWE-79
- CVE-2026-39739 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')… CWE-79
- CVE-2026-39786 Unauthenticated Cross Site Scripting (XSS) in BA Book Everything <= 1.8.33 versions. CWE-79