CVE-2024-29894
Assigner: GitHub_M
Published: 2024-05-13T14:24:32.871Z
State: PUBLISHED
title: Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API
problemTypes: descriptions: cweId: CWE-116
description: CWE-116: Improper Encoding or Escaping of Output
type: CWE
descriptions: cweId: CWE-79
description: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
type: CWE
metrics: cvssV3_1: attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 5.4
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: LOW
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
version: 3.1
affected: vendor: Cacti
product: cacti
versions: version: < 1.2.27
status: affected
descriptions: value: 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.
source: advisory: GHSA-grj5-8fcj-34gh
discovery: UNKNOWN