CVE-2026-48552

Nagios Core / XI DOM-based XSS via jsonquery.js

Published Aug 12, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Debian DLA Debian DLA DLA-4832-1 nagios4 security update
Debian DSA Debian DSA DSA-6556-1 nagios4 security update
History
Type Values Removed Values Added
CPEs cpe:2.3:a:nagios:nagios_core:*:*:*:*:*:*:*:*
cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Nagios
Nagios nagios Core
Nagios nagios Xi
Vendors & Products Nagios
Nagios nagios Core
Nagios nagios Xi
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:49 PM
Reserved
May 21, 2026, 6:34 PM
Status
Awaiting Analysis
Published
Aug 12, 2026, 5:17 PM
Modified
Sep 8, 2026, 8:28 PM