CVE-2024-29894
MEDIUMCacti < 1.2.27 - Stored Cross-Site Scripting via Unescaped PHP Variables
Title source: llmDescription
Cacti provides an operational monitoring and fault management framework. Versions of Cacti prior to 1.2.27 contain a residual cross-site scripting vulnerability caused by an incomplete fix for CVE-2023-50250. `raise_message_javascript` from `lib/functions.php` now uses purify.js to fix CVE-2023-50250 (among others). However, it still generates the code out of unescaped PHP variables `$title` and `$header`. If those variables contain single quotes, they can be used to inject JavaScript code. An attacker exploiting this vulnerability could execute actions on behalf of other users. This ability to impersonate users could lead to unauthorized changes to settings. Version 1.2.27 fixes this issue.
References (3)
Core 3
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh
Exploit, Vendor Advisory x_refsource_misc
https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73
Scores
CVSS v3
5.4
EPSS
0.0090
EPSS Percentile
54.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
CWE-116
Status
published
Products (2)
cacti/cacti
< 1.2.27
fedoraproject/fedora
39
Published
May 14, 2024
Tracked Since
Feb 18, 2026