CVE-2021-26247
Cacti vulnerability analysis and mitigation

Overview

A Cross-Site Scripting (XSS) vulnerability was discovered in Cacti affecting version 0.8.7g and earlier. The vulnerability allows an unauthenticated remote user to execute JavaScript code by visiting 'http://<CACTISERVER>/authchangepassword.php?ref=', where the JavaScript payload in the 'ref' URL parameter is successfully executed (NVD).

Technical details

The vulnerability is classified as a Cross-Site Scripting (XSS) issue (CWE-79) with a CVSS v3.1 Base Score of 6.1 MEDIUM (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N). The vulnerability exists in the auth_changepassword.php file where user input from the 'ref' parameter is not properly sanitized before being reflected back to the user (NVD).

Impact

The vulnerability allows attackers to execute arbitrary JavaScript code in the context of the victim's browser session. This could potentially lead to theft of sensitive information, session hijacking, or other client-side attacks (NVD).

Mitigation and workarounds

The vulnerability has been fixed in later versions of Cacti. Users should upgrade to a version newer than 0.8.7g. The fix was implemented through commits that properly sanitize the 'ref' parameter input (Debian Tracker).

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