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

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

- Web page: https://patchblox.com/security/cve/CVE-2023-39366
- Priority: Routine
- CVSS: 4.8 (medium)
- EPSS: 0.0089
- 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 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 `data_sources.php` script displays the data source management information (e.g. data source path, polling configuration etc.) for different data visualizations of the _cacti_ app.  CENSUS found that an adversary that is able to configure a malicious Device name, can deploy a stored XSS attack against any user of the same (or broader) privileges. A user that possesses the _General Administration>Sites/Devices/Data_ permissions can configure the device names in _cacti_. This configuration occurs through `http://<HOST>/cacti/host.php`, while the rendered malicious payload is exhibited at `http://<HOST>/cacti/data_sources.php`. This vulnerability has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to update should manually filter HTML output.

## 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-39366](https://patchblox.com/security/data/fix/linux/debian-cve-2023-39366.md) | Sep 5, 2023 |
| Linux | cacti Debian 13.5 (trixie) | 1.2.25+ds1-1 | [DEBIAN-CVE-2023-39366](https://patchblox.com/security/data/fix/linux/debian-cve-2023-39366.md) | Sep 5, 2023 |
| Linux | cacti Debian 14 | 1.2.25+ds1-1 | [DEBIAN-CVE-2023-39366](https://patchblox.com/security/data/fix/linux/debian-cve-2023-39366.md) | Sep 5, 2023 |

---

Data as of 2026-11-08T00:53:09Z 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.
