CVE-2023-39515: cacti Cross-site Scripting
Vulnerability summary
CVE-2023-39515 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in cacti. EPSS estimates a 0.84% chance of exploitation in the next 30 days, higher than 57.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 4 · Related 2Timeline
- 05-09-2023PublishedVulnerability first disclosed.
- 25-06-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 script under `data_debug.php` displays data source related debugging information such as _data source paths, polling settings, meta-data on the data source_. _CENSUS_ found that an adversary that is able to configure a malicious data-source path, can deploy a stored XSS attack against any user that has privileges related to viewing the `data_debug.php` information. A user that possesses the _General Administration>Sites/Devices/Data_ permissions can configure the data source path in _cacti_. This configuration occurs through `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.84%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
0.00 pp
From 0.84% on 20-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
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
9 links- github.com/Cacti/cacti/security/advisories/GHSA-hrg9-qqqx-wc4hX Refsource CONFIRMREPORTExploitVendor Advisory
- lists.fedoraproject.org/archives/…Mailing List
- lists.fedoraproject.org/archives/…Mailing List