# CVE-2023-39514: cacti: Cacti is an open source operational monitoring and fault management framework

CVE-2023-39514 is fixed in cacti on 1 platform, first by DEBIAN-CVE-2023-39514, released September 5, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-39514
- Priority: Routine
- CVSS: 5.4 (medium)
- EPSS: 0.0087
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 5, 2023

## Description

Cacti is an open source operational monitoring and fault management framework. Affected versions are subject to a Stored Cross-Site-Scripting (XSS) Vulnerability which allows an authenticated user to poison data stored in the _cacti_'s database. These data will be viewed by administrative _cacti_ accounts and execute JavaScript code in the victim's browser at view-time. The script under `graphs.php` displays graph details such as data-source paths, data template information and graph related fields. _CENSUS_ found that an adversary that is able to configure either a data-source template with malicious code appended in the data-source name or a device with a malicious payload injected in the device name, may deploy a stored XSS attack against any user with _General Administration>Graphs_ privileges. A user that possesses the _Template Editor>Data Templates_ permissions can configure the data-source name in _cacti_. Please note that this may be a _low privileged_ user. This configuration occurs through `http://<HOST>/cacti/data_templates.php` by editing an existing or adding a new data template. If a template is linked to a graph then the formatted template name will be rendered in the graph's management page. A user that possesses the _General Administration>Sites/Devices/Data_ permissions can configure the device name in _cacti_. This vulnerability has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to upgrade should add manual HTML escaping.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cacti Debian 12.15 (bookworm) | 1.2.24+ds1-1+deb12u1 | [DEBIAN-CVE-2023-39514](https://patchblox.com/security/data/fix/linux/debian-cve-2023-39514.md) | Sep 5, 2023 |
| Linux | cacti Debian 13.5 (trixie) | 1.2.25+ds1-1 | [DEBIAN-CVE-2023-39514](https://patchblox.com/security/data/fix/linux/debian-cve-2023-39514.md) | Sep 5, 2023 |
| Linux | cacti Debian 14 | 1.2.25+ds1-1 | [DEBIAN-CVE-2023-39514](https://patchblox.com/security/data/fix/linux/debian-cve-2023-39514.md) | Sep 5, 2023 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
