{"id":"CVE-2024-31444","published":"2024-05-13T15:03:58Z","modified":"2025-11-04T16:11:57Z","title":"Cacti XSS vulnerability in lib/html.php by reading dirty data stored in database","vendor":"Cacti","product":"cacti","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.14664,"percentile":0.96743,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-p4ch-7hjw-6m87","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00027.html","tags":[]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":19.35},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"cacti","affectedVersions":[{"vendor":"Cacti","product":"cacti","versions":["< 1.2.27"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-13T17:22:10.999271Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"Cacti (product cacti) has a cross-site scripting flaw in its lib/html.php component, where data stored by the automation_tree_rules_form_save() function in automation_tree_rules.php is not properly sanitised before being concatenated into HTML by form_confirm(). An attacker with low-privilege authenticated access to the application can plant malicious script in that stored data, which executes in another user's browser when they interact with the affected confirmation page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:59:17Z"},"euvd":{"id":"EUVD-2024-29333","exploited":false,"provenance":"source"}}