CVE-2023-7321 Nagios Log Server < 2.1.14 XSS via Snapshots Page

Medium 5.1 Published Updated

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.

Sources

Also known as GHSA-w8rr-5362-h9xq.

Is CVE-2023-7321 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free