Description
Nagios Core before 4.5.14 and Nagios XI before 2026R1.7 are vulnerable to DOM-based cross-site scripting in jsonquery.js. Unencoded JSON string values reflected from stored fields are inserted into the DOM without sanitization, allowing attackers to run arbitrary JavaScript in the victim's browser.
Published: 2026-08-12
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Nagios Core 4.5.13 and earlier, and Nagios XI 2026R1.6 and earlier, contain a DOM‑based cross‑site scripting flaw in jsonquery.js where unencoded JSON string values that reside in the database are injected directly into the DOM without sanitization. An attacker can embed malicious JavaScript that executes in a victim’s browser when a page using these values is rendered, enabling actions such as session hijacking, credential theft, or other browser‑based compromises.

Affected Systems

Nagios Enterprises, LLC’s Nagios Core version prior to 4.5.14 and Nagios XI prior to release 2026R1.7 are affected. The vulnerability is limited to the jsonquery.js component in those releases; later versions have the issue resolved.

Risk and Exploitability

The CVSS base score is 5.1, indicating moderate severity. No EPSS score is available and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to supply a stored JSON value that is later rendered by jsonquery.js on a page viewed by a user. The attack is browser‑centric; it does not provide server‑side code execution but allows the injected script to run with the victim’s privileges, potentially compromising session data or other sensitive information.

Generated by OpenCVE AI on August 13, 2026 at 00:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Nagios Core to version 4.5.14 or later and Nagios XI to release 2026R1.7 or later.
  • If an upgrade is not immediately possible, restrict or sanitize all JSON input that is stored and later displayed by jsonquery.js to prevent malicious content from being rendered.
  • Deploy a Content Security Policy that disallows inline scripts and restricts script sources to mitigate the impact of any remaining XSS flaw.

Generated by OpenCVE AI on August 13, 2026 at 00:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:nagios:nagios_core:*:*:*:*:*:*:*:*
cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*

Thu, 13 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Nagios
Nagios nagios Core
Nagios nagios Xi
Vendors & Products Nagios
Nagios nagios Core
Nagios nagios Xi

Wed, 12 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Description Nagios Core before 4.5.14 and Nagios XI before 2026R1.7 are vulnerable to DOM-based cross-site scripting in jsonquery.js. Unencoded JSON string values reflected from stored fields are inserted into the DOM without sanitization, allowing attackers to run arbitrary JavaScript in the victim's browser.
Title Nagios Core / XI DOM-based XSS via jsonquery.js
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, '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'}


Subscriptions

Nagios Nagios Core Nagios Xi
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T16:49:59.849Z

Reserved: 2026-05-21T18:34:46.418Z

Link: CVE-2026-48552

cve-icon Vulnrichment

Updated: 2026-08-12T16:46:48.247Z

cve-icon NVD

Status : Received

Published: 2026-08-12T17:17:27.523

Modified: 2026-08-12T17:17:27.523

Link: CVE-2026-48552

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T09:48:19Z

Weaknesses
  • CWE-79

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