Cross-site scripting in Cacti - CVE-2024-29894
Published: June 3, 2024
Vulnerability details
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data within the raise_message_javascript() function from lib/functions.php. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Note, the vulnerability exists due to incomplete fix for #VU84815 (CVE-2023-50250).
Affected software
Fedora
cacti
cacti-spine
How to mitigate CVE-2024-29894
cacti - addressed in versions 1.2.27-1.el7, 1.2.27-1.el8, 1.2.27-1.el9, 1.2.27-1.fc39
cacti-spine - addressed in versions 1.2.27-1.el7, 1.2.27-1.el8, 1.2.27-1.el9, 1.2.27-1.fc39