CVE-2024-29894
published medium CVSS 3.1 · 5.4Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cacti | — | cacti< 1.2.27 | Affected | Not stated | GitHub_M |
| cacti | — | cacti- to < 1.2.27 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Alpine Linux | edge | cacti | Fixed | 1.2.27-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cactinoarch | Advisory build | 1.2.27-bp155.2.9.1 | OPENSUSE-SU-2024:0274-1 |
| Ubuntu | noble | cacti | Advisory build | 1.2.26+ds1-1ubuntu0.1 | USN-6969-1 |
| Alpine Linux | v3.19 | cacti | Fixed | 1.2.27-r0 | Package fix record |
| Alpine Linux | v3.20 | cacti | Fixed | 1.2.27-r0 | Package fix record |
| Alpine Linux | v3.21 | cacti | Fixed | 1.2.27-r0 | Package fix record |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | cacti | Fixed | 1.2.27-r0 | Package fix record |
| Alpine Linux | v3.23 | cacti | Fixed | 1.2.27-r0 | Package fix record |
| Alpine Linux | v3.24 | cacti | Fixed | 1.2.27-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cactinoarch | Advisory build | 1.2.27-bp156.2.3.1 | OPENSUSE-SU-2024:0276-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactiaarch64 | Advisory build | 1.2.27-1.1 | OPENSUSE-SU-2024:13962-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactippc64le | Advisory build | 1.2.27-1.1 | OPENSUSE-SU-2024:13962-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactis390x | Advisory build | 1.2.27-1.1 | OPENSUSE-SU-2024:13962-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactix86_64 | Advisory build | 1.2.27-1.1 | OPENSUSE-SU-2024:13962-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spineaarch64 | Advisory build | 1.2.27-bp155.2.9.1 | OPENSUSE-SU-2024:0274-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spinei586 | Advisory build | 1.2.27-bp155.2.9.1 | OPENSUSE-SU-2024:0274-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spineppc64le | Advisory build | 1.2.27-bp155.2.9.1 | OPENSUSE-SU-2024:0274-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spines390x | Advisory build | 1.2.27-bp155.2.9.1 | OPENSUSE-SU-2024:0274-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spinex86_64 | Advisory build | 1.2.27-bp155.2.9.1 | OPENSUSE-SU-2024:0274-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cacti-spineaarch64 | Advisory build | 1.2.27-bp156.2.3.1 | OPENSUSE-SU-2024:0276-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cacti-spinei586 | Advisory build | 1.2.27-bp156.2.3.1 | OPENSUSE-SU-2024:0276-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cacti-spineppc64le | Advisory build | 1.2.27-bp156.2.3.1 | OPENSUSE-SU-2024:0276-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cacti-spines390x | Advisory build | 1.2.27-bp156.2.3.1 | OPENSUSE-SU-2024:0276-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cacti-spinex86_64 | Advisory build | 1.2.27-bp156.2.3.1 | OPENSUSE-SU-2024:0276-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cacti | cacti | < 1.2.27 (affected) | GitHub_M · cna |
| cacti | cacti | - to < 1.2.27 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-116 CWE-116: Improper Encoding or Escaping of Output
- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
3GitHub_M · cna
Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8efbe80e2833019212a8e17da605d38adc9fd8e87e2a8ac9fada33099d70a78a
- Ingested
- 23 Sep 2026, 08:21:29 UTC
- Source record
- Official CVE record