CVE-2024-31443
Cacti XSS vulnerability in lib/html_tree.php by reading dirty data stored in database
- State
- Published
- Severity
- 5.7 Medium
- Published
- May 13, 2024
- Updated
- Nov 4, 2025
- Reserved
- Apr 3, 2024
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.7 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H | GitHub_M |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
cactiCacti |
|
References
- https://github.com/Cacti/cacti/security/advisories/GHSA-rqc8-78cm-85j3
- https://github.com/Cacti/cacti/commit/f946fa537d19678f938ddbd784a10e3290d275cf
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00027.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.