CVE-2024-31444 MEDIUM

CVE-2024-31444: Cacti XSS vulnerability in lib/html.php by reading dirty data stored in database

Vendor Cacti
Product cacti
Weakness CWE-79 · XSS
Published May 13, 2024
Last update November 4, 2025

CVSS base score

4.6/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

What the vulnerability does

01Description

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `automation_tree_rules_form_save()` function in `automation_tree_rules.php` is not thoroughly checked and is used to concatenate the HTML statement in `form_confirm()` function from `lib/html.php` , finally resulting in cross-site scripting. Version 1.2.27 contains a patch for the issue.

Key dates

02Disclosure timeline

May 13, 2024 CVE published
November 4, 2025 Record updated