CVE-2024-29894CWE-116CWE-79

Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API

Medium · published May 13, 2024

CVSS v3.1
5.4
EPSS
1%
Percentile
59.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00897 · 59.2th percentile
Weaknesses
CWE-116 · Improper Encoding or Escaping of Output; CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2024-05-13T14:24Z
EPSS history
Timeline
  • 13 MAY 14:24Z
    Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API
    cvelistv5