CVE-2024-5741 XSS in inventory view
Attackers can inject malicious scripts into the inventory tree view, potentially executing code or hijacking user sessions in Checkmk.
- 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-2024-5741?
CVE-2024-5741 is a medium-severity cross-site scripting vulnerability in Checkmk Checkmk, published on 17 Jun 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Stored XSS in inventory tree rendering in Checkmk before 2.3.0p7, 2.2.0p28, 2.1.0p45 and 2.0.0 (EOL)
Which versions are affected by CVE-2024-5741?
It affects 1 product.
Products include Checkmk Checkmk.
How do I fix CVE-2024-5741?
No fix has been published for CVE-2024-5741 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-2024-5741 being exploited?
There is no known exploitation of CVE-2024-5741 in the wild and no public exploit code.
Other vulnerabilities in Checkmk Checkmk
- CVE-2025-39666 omd: Local privilege escalation when executing omd commands as root
- CVE-2024-8606 Fix 2FA bypass via RestAPI
- CVE-2022-46836 PHP code injection in watolib
- CVE-2025-32919 Privilege Escalation in Windows License plugin for Checkmk Windows Agent
- CVE-2024-28827 Privilege escalation in Windows agent
Sources
Also known as GHSA-w282-px53-r98p, UBUNTU-CVE-2024-5741.