CVE-2023-7321 Nagios Log Server < 2.1.14 XSS via Snapshots Page
Attackers can execute arbitrary scripts in victims' browsers via unencoded log content in Nagios Log Server, potentially leading to session hijacking.
- 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-2023-7321?
CVE-2023-7321 is a medium-severity cross-site scripting vulnerability in Nagios Log Server, published on 30 Oct 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 Log Server versions prior to 2.1.14 are vulnerable to cross-site scripting (XSS) via the Snapshots Page. Untrusted log content was not safely encoded for the output context, allowing attacker-controlled data present in logs to execute script in the victim’s browser within the application origin.
Weakness: CWE-79
Which versions are affected by CVE-2023-7321?
It affects 1 product.
Products include Nagios Log Server.
How do I fix CVE-2023-7321?
No fix has been published for CVE-2023-7321 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-2023-7321 being exploited?
There is no known exploitation of CVE-2023-7321 in the wild and no public exploit code.
Other vulnerabilities in Nagios Log Server
- CVE-2025-44823 Information disclosure in Log Server
- CVE-2025-34277 Nagios Log Server < 2024R1.3.1 RCE via Malformed Dashboard ID
- CVE-2025-34274 Nagios Log Server < 2024R2.0.3 Logstash Process Root Privileges
- CVE-2023-7322 Nagios Log Server < 2024R1 Incorrect Authorization Granting Full API Access
- CVE-2025-34271 Nagios Log Server < 2024R2.0.2 Cluster Manager Credential Requests Sent Over Plaintext
Sources
Also known as GHSA-w8rr-5362-h9xq.