CVE-2023-39511
Cacti vulnerability analysis and mitigation

Overview

Cacti is an open source operational monitoring and fault management framework. A Stored Cross-Site-Scripting (XSS) vulnerability was discovered in versions prior to 1.2.25 that allows an authenticated user to poison data stored in the Cacti's database. The vulnerability was discovered in September 2023 and affects the reports_admin.php functionality (GitHub Advisory).

Technical details

The vulnerability exists in the reports_admin.php script which displays reporting information about graphs, devices, and data sources. An adversary with General Administration>Sites/Devices/Data permissions can configure a malicious device name through the host.php interface. When this malicious device name is linked to a report, it gets rendered in reports_admin.php without proper HTML escaping, allowing JavaScript code execution in the victim's browser. 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) (NVD).

Impact

When exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in the victim's browser context. This can lead to account takeover, performing unauthorized actions on the platform, redirecting users to malicious websites, stealing sensitive information, and potentially launching browser-based attacks or participating in DDoS attacks (GitHub Advisory).

Exploitability

The vulnerability requires an authenticated user with General Administration>Sites/Devices/Data permissions to create or edit device names. The attack targets administrative users or super users who have access to view the reports_admin.php page. A proof of concept exploit has been documented that involves sending a crafted POST request to host.php to inject malicious JavaScript code (GitHub Advisory).

Mitigation and workarounds

The 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 filter HTML output when rendering user-supplied information or make it a text element in the rendered HTML (GitHub Advisory, 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-2026-40083HIGH7.2
  • Cacti logoCacti
  • cacti
NoYesJun 25, 2026
CVE-2026-40941HIGH7.1
  • Cacti logoCacti
  • cacti
NoYesJun 25, 2026
CVE-2026-40084MEDIUM6.5
  • Cacti logoCacti
  • cacti
NoYesJun 25, 2026
CVE-2026-40080MEDIUM6.1
  • Cacti logoCacti
  • cacti
NoYesJun 25, 2026
CVE-2026-40082MEDIUM5.4
  • Cacti logoCacti
  • cacti
NoYesJun 25, 2026

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