# CVE-2026-39897: Cacti reflected XSS in html_auth_footer

Source: https://junglewise.ai/threats/cve-2026-39897-cacti-reflected-xss-in-html-auth-footer  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-24. Updated: 2026-06-24  
License: CC BY 4.0 with a link back

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

Cacti, an open-source network monitoring and fault management framework, contains a security vulnerability in its authentication footer component. An attacker could use this flaw to execute malicious scripts in a user's browser if the user clicks a specially crafted link. This could lead to unauthorized actions being performed on behalf of the user or the theft of sensitive session information.

Technologies: [Cacti](https://junglewise.ai/threats/technologies/cacti). Vendors: [Cacti](https://junglewise.ai/threats/vendors/cacti).

## Quick answers

**Is CVE-2026-39897 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-39897 being exploited in the wild.

**How severe is CVE-2026-39897?** Informational severity, with a CVSS score of 5.3, published 24 June 2026.

**Which products and versions are affected?** Cacti <= 1.2.30.

**Is there a fix for CVE-2026-39897?** A patch was published on 2026-03-29: Fix committed to repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-39897 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-39897?** Check whether you run Cacti at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A reflected cross-site scripting (XSS) vulnerability exists in Cacti versions <= 1.2.30 within the html_auth_footer function. The vulnerability stems from improper neutralization of user-controllable input before it is rendered in the authentication footer's error message output. An unauthenticated remote attacker can exploit this by enticing a user to visit a malicious URL, allowing the execution of arbitrary JavaScript in the context of the victim's browser session. This was identified during an internal audit and is addressed in version 1.2.31 by implementing proper output encoding and input validation.

## Affected products

- Cacti Cacti <= 1.2.30

## Timeline

- 2026-03-29: patched: Fix committed to repository
- 2026-06-18: advisory: GitHub Security Advisory published
- 2026-06-24: disclosed: CVE published to NVD

## References

- [https://github.com/Cacti/cacti/commit/7c544ea0b45de627f206eefe93005433c2c3864d](https://github.com/Cacti/cacti/commit/7c544ea0b45de627f206eefe93005433c2c3864d)
- [https://github.com/Cacti/cacti/security/advisories/GHSA-2j98-xfjq-gw39](https://github.com/Cacti/cacti/security/advisories/GHSA-2j98-xfjq-gw39)

## Related threats

- [Cacti user enumeration via error messages](https://junglewise.ai/threats/cve-2026-49442-cacti-is-an-open-source-performance-and-fault-management)
- [Cacti authenticated stored SQL injection in automation tree rule](https://junglewise.ai/threats/cve-2026-46531-cacti-is-an-open-source-performance-and-fault-management)
- [Cacti input string validation bypass and RCE](https://junglewise.ai/threats/cve-2026-39902-cacti-is-an-open-source-performance-and-fault-management)
- [Cacti package import signature validation bypass](https://junglewise.ai/threats/cve-2026-40941-cacti-package-import-signature-validation-bypass)
- [Cacti path traversal in Report format_file parameter](https://junglewise.ai/threats/cve-2026-40084-cacti-path-traversal-in-report-format-file-parameter)
