{"id":"CVE-2024-31444","aliases":["CVE-2024-31444"],"related":[],"kind":"vulnerability","state":"published","title":"Cacti XSS vulnerability in lib/html.php by reading dirty data stored in database","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Cacti proporciona un framework de monitoreo operativo y gestión de fallas. Antes de la versión 1.2.27, algunos de los datos almacenados en la función `automation_tree_rules_form_save()` en `automation_tree_rules.php` no se verifican exhaustivamente y se usan para concatenar la declaración HTML en la función `form_confirm()` de `lib/html. php`, lo que finalmente resulta en Cross Site Scripting. La versión 1.2.27 contiene un parche para el problema.","source":"nvd"}],"published":"2024-05-13T15:03:58.385Z","modified":"2026-06-17T07:28:26.303Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L","score":4.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 1.2.27","status":"affected"}],"vendor":"Cacti","product":"cacti","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"-","fixed":"1.2.27","status":"affected"}],"vendor":"cacti","product":"cacti","cpe":"cpe:2.3:a:cacti:cacti:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.2.27"}],"vendor":"cacti","product":"cacti","cpe":"cpe:2.3:a:cacti:cacti:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"39"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-p4ch-7hjw-6m87","tags":["exploit","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/","tags":["product","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00027.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-13T17:22:10.999Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-31444","url":"https://www.cve.org/CVERecord?id=CVE-2024-31444","licence":"CVE Terms of Use","modified":"2025-11-04T16:11:57.976Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-31444","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31444","licence":"Public domain","modified":"2026-06-17T07:28:26.303Z"}],"updatedAt":"2026-11-25T22:58:40.138Z","epss":{"score":0.14664,"percentile":0.96745,"date":"2026-12-01T12:00:22.000Z"}}