CVE-2023-50250 Cross-Site Scripting vulnerability when Import xml template file
Attackers can execute arbitrary scripts via reflected XSS in Cacti's XML template import, potentially impersonating users and modifying settings.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-50250?
CVE-2023-50250 is a medium-severity cross-site scripting vulnerability in Cacti Cacti, published on 22 Dec 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cacti is an open source operational monitoring and fault management framework. A reflection cross-site scripting vulnerability was discovered in version 1.2.25. Attackers can exploit this vulnerability to perform actions on behalf of other users. The vulnerability is found in `templates_import.php.` When uploading an xml template file, if the XML file does not pass the check, the server will give a JavaScript pop-up prompt, which contains unfiltered xml template file name, resulting in XSS. An attacker exploiting this vulnerability could execute actions on behalf of other users. This ability to impersonate users could lead to unauthorized changes to settings. As of time of publication, no patched versions are available.
Weakness: CWE-79
Which versions are affected by CVE-2023-50250?
It affects 1 product.
Products include Cacti Cacti.
How do I fix CVE-2023-50250?
No fix published yet.
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-50250 being exploited?
There is no known exploitation of CVE-2023-50250 in the wild and no public exploit code.
Other vulnerabilities in Cacti Cacti
- CVE-2022-46169 Cacti Command Injection
- CVE-2026-39893 Cacti: Pre-authentication SQL injection via rfilter RLIKE clause in graph_view.php
- CVE-2026-39938 Cacti: Unauthenticated RCE on Graph Image
- CVE-2026-39955 Cacti has Pre-Authentication SQL Injection via unanchored FILTER_VALIDATE_REGEXP in graph_view.php
- CVE-2023-39361 Unauthenticated SQL Injection in graph_view.php in Cacti
Sources
Also known as CLEANSTART-2024-QM09372, CVE-2023-50569, DEBIAN-CVE-2023-50250, GHSA-xwqc-7jc4-xm73, UBUNTU-CVE-2023-50250.