{"id":"CVE-2024-31443","aliases":["CVE-2024-31443"],"related":[],"kind":"vulnerability","state":"published","title":"Cacti XSS vulnerability in lib/html_tree.php by reading dirty data stored in database","summary":"Cacti provides an operational monitoring and fault management framework. Prior to 1.2.27, some of the data stored in `form_save()` function in `data_queries.php` is not thoroughly checked and is used to concatenate the HTML statement in `grow_right_pane_tree()` 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 1.2.27, some of the data stored in `form_save()` function in `data_queries.php` is not thoroughly checked and is used to concatenate the HTML statement in `grow_right_pane_tree()` 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 1.2.27, algunos de los datos almacenados en la función `form_save()` en `data_queries.php` no se verifican minuciosamente y se usan para concatenar la declaración HTML en la función `grow_right_pane_tree()` 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:01:44.324Z","modified":"2026-06-17T07:28:26.187Z","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:N/A:H","score":5.7,"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:N/A:H","score":5.7,"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-rqc8-78cm-85j3","tags":["exploit","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Cacti/cacti/commit/f946fa537d19678f938ddbd784a10e3290d275cf","tags":["patch","x-refsource-misc","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:21:18.416Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-31443","url":"https://www.cve.org/CVERecord?id=CVE-2024-31443","licence":"CVE Terms of Use","modified":"2025-11-04T16:11:57.030Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-31443","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31443","licence":"Public domain","modified":"2026-06-17T07:28:26.187Z"}],"updatedAt":"2026-11-25T22:58:40.137Z","epss":{"score":0.00838,"percentile":0.58908,"date":"2026-12-01T12:00:22.000Z"}}