Cyber Resilience

CVE-2022-38254

Medium

Published: 07 September 2022

Published
07 September 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.3352 97.0th percentile
Risk Priority 32 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-38254 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Nagios Nagios Xi. Its CVSS base score is 6.1 (Medium).

Operationally, ranked in the top 3.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

Nagios XI versions prior to 5.8.7 contain a cross-site scripting vulnerability tracked as CVE-2022-38254 and assigned CWE-79. The flaw resides in the ajax.php script within the CCM component at version 3.1.5 and carries a CVSS 3.1 base score of 6.1 reflecting network attack vector, low complexity, no required privileges, and required user interaction with changed scope.

An unauthenticated remote attacker can supply crafted input that is reflected or stored through ajax.php, causing arbitrary script execution in the context of another user’s browser session. Successful exploitation can result in limited disclosure or modification of information visible to the victim and may affect resources beyond the initially targeted Nagios XI instance because of the changed scope.

The vendor’s change log for Nagios XI 5.8.7 documents the resolution of this issue, indicating that upgrading to version 5.8.7 or later removes the vulnerable code path. The associated EPSS score has remained at 0.3352 with no material increase observed since disclosure.

EU & UK References

Vulnerability details

Nagios XI before v5.8.7 was discovered to contain a cross-site scripting (XSS) vulnerability via the ajax.php script in CCM 3.1.5.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

nagios
nagios xi
≤ 5.8.7

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References