CVE-2023-39516
Cacti vulnerability analysis and mitigation

Overview

Cacti is an open source operational monitoring and fault management framework affected by a Stored Cross-Site-Scripting (XSS) vulnerability (CVE-2023-39516) discovered in September 2023. The vulnerability allows an authenticated user with 'General Administration>Sites/Devices/Data' permissions to poison data stored in the Cacti's database through the data_sources.php script, which can then be executed when viewed by administrative Cacti accounts (GitHub Advisory).

Technical details

The vulnerability exists in the datasources.php script which displays data source management information like data source paths and polling configurations. An adversary with appropriate permissions can configure a malicious data-source path through http:///cacti/datasources.php, which can then deploy a stored XSS attack against any user with the same or broader privileges. The vulnerability has been assigned a CVSS v3.1 base score of 6.1 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N) (GitHub Advisory).

Impact

When exploited, this vulnerability allows attackers to execute JavaScript code in victims' browsers at view-time, potentially leading to account takeover, performing arbitrary actions on the platform as the victim user, redirecting users to malicious websites, stealing sensitive information, running browser-related exploits, or participating in DDoS attacks (GitHub Advisory).

Mitigation and workarounds

This vulnerability has been fixed in Cacti version 1.2.25. Users are strongly advised to upgrade to this version or later. For users unable to upgrade immediately, it is recommended to manually escape HTML output. The fix involves proper handling of user-supplied information by either making it a text element in the rendered HTML or escaping the content using HTML entities (GitHub Advisory, Debian LTS).

Community reactions

The vulnerability has been acknowledged and addressed by multiple Linux distributions including Debian and Fedora, which have released security updates to patch the vulnerability. Debian classified it as part of a larger security update addressing multiple vulnerabilities in Cacti (Debian Security, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Cacti vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26520CRITICAL9.8
  • CactiCacti
  • cacti
NoYesFeb 12, 2025
CVE-2005-10004HIGH8.7
  • CactiCacti
  • cacti
NoYesAug 30, 2025
CVE-2025-24367HIGH8.7
  • CactiCacti
  • cacti
NoYesJan 27, 2025
CVE-2025-66399HIGH7.4
  • CactiCacti
  • cacti
NoYesDec 02, 2025
CVE-2025-24368MEDIUM6.9
  • CactiCacti
  • cacti
NoYesJan 27, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management