CVE-2023-39516: cacti Cross-site Scripting
Vulnerability summary
CVE-2023-39516 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.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 4 · Related 2Timeline
- 05-09-2023PublishedVulnerability first disclosed.
- 25-02-2026Last 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 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 `data_sources.php` 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 data-source path, 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 data source path in Cacti. This configuration occurs through `http://<HOST>/cacti/data_sources.php`. The same page can be used for previewing the data source path. This issue has been addressed in version 1.2.25. Users are advised to upgrade. Users unable to upgrade should manually escape 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-r8qq-88g3-hmgvX Refsource CONFIRMREPORTExploitVendor Advisory
- lists.fedoraproject.org/archives/…Mailing List
- lists.fedoraproject.org/archives/…Mailing List
- lists.fedoraproject.org/archives/…Mailing List
- www.debian.org/security/2023/dsa-5550Mailing List