CVE-2023-50250
Cross-Site Scripting vulnerability when Import xml template file
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
5.4
Cross-Site Scripting vulnerability when Import xml template file
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.
- Record
CVE-2023-50250- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2023-55066
5.4
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.
- Record
EUVD-2023-55066- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L - Updated
- 2026-11-03
NVD
5.4
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.
- Record
CVE-2023-50250- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
5.4
Cross-Site Scripting vulnerability when Import xml template file
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.
- Record
CVE-2023-50250- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-50250
6.1
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.
- Record
DEBIAN-CVE-2023-50250- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-50250
5.4
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.
- Record
UBUNTU-CVE-2023-50250- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:0031-1 No score
Security update for cacti, cacti-spine
This update for cacti, cacti-spine fixes the following issues:
cacti-spine 1.2.26:
- Fix: Errors when uptime OID is not present
- Fix: MySQL reconnect option is depreciated
- Fix: Spine does not check a host with no poller items
- Fix: Poller may report the wrong number of devices polled
- Feature: Allow users to override the threads setting at the command line
- Feature: Allow spine to run in ping-only mode
cacti 1.2.26:
- CVE-2023-50250: XSS vulnerability when importing a template file (boo#1218380)
- CVE-2023-49084: RCE vulnerability when managing links (boo#1218360)
- CVE-2023-49085: SQL Injection vulnerability when managing poller devices (boo#1218378)
- CVE-2023-49086: XSS vulnerability when adding new devices (boo#1218366)
- CVE-2023-49088: XSS vulnerability when viewing data sources in debug mode (boo#1218379)
- CVE-2023-51448: SQL Injection vulnerability when managing SNMP Notification Receivers (boo#1218381)
- When viewing data sources, an undefined variable error may be seen
- Improvements for Poller Last Run Date
- Attempting to edit a Data Query that does not exist throws warnings and not an GUI error
- Improve PHP 8.1 support when adding devices
- Viewing Data Query Cache can cause errors to be logged
- Preserve option is not properly honoured when removing devices at command line
- Infinite recursion is possible during a database failure
- Monitoring Host CPU's does not always work on Windows endpoints
- Multi select drop down list box not rendered correctly in Chrome and Edge
- Selective Plugin Debugging may not always work as intended
- During upgrades, Plugins may be falsely reported as incompatible
- Plugin management at command line does not work with multiple plugins
- Improve PHP 8.1 support for incrementing only numbers
- Allow the renaming of guest and template accounts
- DS Stats issues warnings when the RRDfile has not been initialized
- When upgrading, missing data source profile can cause errors to be logged
- When deleting a single Data Source, purge historical debug data
- Improvements to form element warnings
- Some interface aliases do not appear correctly
- Aggregate graph does not show other percentiles
- Settings table updates for large values reverted by database repair
- When obtaining graph records, error messages may be recorded
- Unable to change a device's community at command line
- Increase timeout for RRDChecker
- When viewing a graph, option to edit template may lead to incorrect URL
- When upgrading, failures may occur due to missing color table keys
- On installation, allow a more appropriate template to be used as the default
- When data input parameters are allowed to be null, allow null
- CSV Exports may not always output data correctly
- When debugging a graph, long CDEF's can cause undesirable scrolling
- Secondary LDAP server not evaluated when the first one has failed
- When adding a device, using the bulk walk option can make version information appear
- When parsing a Data Query resource, an error can be reported if no direction is specified
- Database reconnection can cause errors to be reported incorrectly
- fix returned value if $sau is empty
- Add Aruba switch, Aruba controller and HPE iLO templates
- Add OSCX 6x00 templates
- Record
openSUSE-SU-2024:0031-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13533-1 No score
cacti-1.2.26-1.1 on GA media
These are all security issues fixed in the cacti-1.2.26-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13533-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
cactiDebian:12 |
before 1.2.24+ds1-1+deb12u2, plus listed versions 1.2.24+ds1-11.2.24+ds1-1+deb12u1 |
1.2.24+ds1-1+deb12u2 |
cactiDebian:13 |
before 1.2.26+ds1-1 | 1.2.26+ds1-1 |
cactiDebian:14 |
before 1.2.26+ds1-1 | 1.2.26+ds1-1 |
cactiUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 0.8.8b+dfsg-30.8.8b+dfsg-50.8.8b+dfsg-5ubuntu0.10.8.8b+dfsg-5ubuntu0.20.8.8b+dfsg-5ubuntu0.2+esm10.8.8b+dfsg-5ubuntu0.2+esm2 |
None known |
cactiUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 0.8.8f+ds1-20.8.8f+ds1-30.8.8f+ds1-40.8.8f+ds1-4ubuntu10.8.8f+ds1-4ubuntu2 Show 7 moreShow less0.8.8f+ds1-4ubuntu30.8.8f+ds1-4ubuntu40.8.8f+ds1-4ubuntu4.16.040.8.8f+ds1-4ubuntu4.16.04.10.8.8f+ds1-4ubuntu4.16.04.20.8.8f+ds1-4ubuntu4.16.04.2+esm10.8.8f+ds1-4ubuntu4.16.04.2+esm2 |
None known |
cactiUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 1.1.18+ds1-11.1.27+ds1-21.1.27+ds1-31.1.28+ds1-21.1.35+ds1-1 Show 5 moreShow less1.1.36+ds1-11.1.38+ds1-11.1.38+ds1-1ubuntu0.1~esm11.1.38+ds1-1ubuntu0.1~esm31.1.38+ds1-1ubuntu0.1~esm4 |
None known |
cactiUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 1.2.4+ds1-2ubuntu31.2.9+ds1-1ubuntu11.2.9+ds1-1ubuntu21.2.10+ds1-1ubuntu11.2.10+ds1-1ubuntu1+esm11.2.10+ds1-1ubuntu1.11.2.10+ds1-1ubuntu1.1+esm11.2.10+ds1-1ubuntu1.1+esm2 |
None known |
cactiUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 1.2.16+ds1-2ubuntu11.2.19+ds1-2ubuntu11.2.19+ds1-2ubuntu1+esm11.2.19+ds1-2ubuntu1.11.2.19+ds1-2ubuntu1.1+esm11.2.19+ds1-2ubuntu1.1+esm2 |
None known |
cactiSUSE:Package Hub 12 From an advisory covering 6 CVEs |
before 1.2.26-bp155.2.6.1 | 1.2.26-bp155.2.6.1 |
cacti-spineSUSE:Package Hub 12 From an advisory covering 6 CVEs |
before 1.2.26-bp155.2.6.1 | 1.2.26-bp155.2.6.1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
cactiSUSE:Package Hub 15 SP5 From an advisory covering 6 CVEs |
before 1.2.26-bp155.2.6.1 | 1.2.26-bp155.2.6.1 |
cacti-spineSUSE:Package Hub 15 SP5 From an advisory covering 6 CVEs |
before 1.2.26-bp155.2.6.1 | 1.2.26-bp155.2.6.1 |
cactiopenSUSE:Leap 15.5 From an advisory covering 6 CVEs |
before 1.2.26-bp155.2.6.1 | 1.2.26-bp155.2.6.1 |
cacti-spineopenSUSE:Leap 15.5 From an advisory covering 6 CVEs |
before 1.2.26-bp155.2.6.1 | 1.2.26-bp155.2.6.1 |
cactiopenSUSE:Tumbleweed From an advisory covering 6 CVEs |
before 1.2.26-1.1 | 1.2.26-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, published | EUVD | |
| first indexed | CVE List, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-50250 is a medium vulnerability (CVSS 5.4) in Cacti, published December 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.28%, the 70th percentile. Fixed in cacti 1.2.24+ds1-1+deb12u2.
References
github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73
github.com/Cacti/cacti/blob/5f6f65c215d663a775950b2d9db35edbaf07d680/templates_import.php
lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X
github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50250.json
nvd.nist.gov/vuln/detail/CVE-2023-50250
security-tracker.debian.org/tracker/CVE-2023-50250
Show 15 moreShow less
ubuntu.com/security/CVE-2023-50250
cve.org/CVERecord?id=CVE-2023-50250
lists.opensuse.org/archives/list/[email protected]/thread/IZJKJNYP7JFJ3XMRIGZT22J5DIAVPSY7
bugzilla.suse.com/1218360
bugzilla.suse.com/1218366
bugzilla.suse.com/1218378
bugzilla.suse.com/1218379
bugzilla.suse.com/1218380
bugzilla.suse.com/1218381
suse.com/security/cve/CVE-2023-49084
suse.com/security/cve/CVE-2023-49085
suse.com/security/cve/CVE-2023-49086
suse.com/security/cve/CVE-2023-49088
suse.com/security/cve/CVE-2023-50250
suse.com/security/cve/CVE-2023-51448