Junglewise Threat Intelligence

CVE-2026-39900: Cacti reflected XSS in auth_profile.php via tab parameter

CVE-2026-39900 · Severity: info · CVSS 5.3 · Published 2026-06-24

Technologies: Cacti. Vendors: Cacti.

Executive brief

Cacti, an open-source network monitoring and fault management framework, is vulnerable to a security flaw where malicious code can be injected into a user's browser. By tricking a user into clicking a specially crafted link, an attacker could execute unauthorized scripts in the context of the user's session. This could lead to the theft of sensitive information or unauthorized actions being performed on the user's behalf within the Cacti application.

Technical details

A reflected cross-site scripting (XSS) vulnerability exists in Cacti versions 1.2.30 and prior. The 'tab' parameter in auth_profile.php is rendered directly into a JavaScript context without sufficient escaping or validation. An attacker can exploit this by crafting a URL containing a malicious payload in the 'tab' parameter and persuading a logged-in user to visit it. The fix, introduced in version 1.2.31, implements strict input validation using a regular expression (restricting input to alphanumeric characters and underscores) and ensures the output is safely encoded using json_encode.

Affected products

  • Cacti Cacti <= 1.2.30

Timeline

  • 2026-04-26: patched: Fix committed to repository
  • 2026-06-18: advisory: GitHub Security Advisory published
  • 2026-06-24: disclosed: CVE published to NVD

References

Related threats