CVE-2023-7312 Nagios Fusion < 4.2.0 Email Settings Stored XSS via SMTP/sendmail
Stored XSS in Nagios Fusion allows attackers to execute JavaScript in other users' browsers via unsanitized email settings.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-7312?
CVE-2023-7312 is a medium-severity cross-site scripting vulnerability in Nagios Fusion, published on 30 Oct 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Nagios Fusion versions prior to 4.2.0 contain a stored cross-site scripting (XSS) vulnerability when adding or configuring Email Settings. Unsanitized user input can be stored and later rendered in the administrative UI, causing JavaScript to execute in the browser of any user who views the affected page. An attacker who can add or modify SMTP/email settings or manipulate the sendmail configuration fields could persist a malicious payload that executes in the context of other users' browsers.
Weakness: CWE-79
Which versions are affected by CVE-2023-7312?
It affects 1 product.
Products include Nagios Fusion.
How do I fix CVE-2023-7312?
No fix has been published for CVE-2023-7312 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-7312 being exploited?
There is no known exploitation of CVE-2023-7312 in the wild and no public exploit code.
Other vulnerabilities in Nagios Fusion
Sources
Also known as GHSA-mv3v-fcv4-mcj5.