CVE-2023-39366: cacti Cross-site Scripting
Vulnerability summary
CVE-2023-39366 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in cacti. EPSS estimates a 0.89% chance of exploitation in the next 30 days, higher than 58.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 05-09-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · DebianEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NDiffers
- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.89%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
0.00 pp
From 0.89% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundCacti
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Cacti1 product
- cacti< 1.2.25 | ≥ 1.2.0, < 1.2.25
Debian1 product
- cacti< 1.2.24+ds1-1+deb12u1 | < 1.2.25+ds1-1
Fedoraproject1 product
- fedoraEOL37 | 38
Ubuntu1 product
- cactiAll versions (No fix recorded)
4 vendors · 4 products
References
8 links- github.com/Cacti/cacti/security/advisories/GHSA-rwhh-xxm6-vcrvX Refsource CONFIRMREPORTExploitVendor Advisory
- lists.fedoraproject.org/archives/…Mailing List
- lists.fedoraproject.org/archives/…Mailing List