5.4

CVE-2024-29894: cacti Cross-site Scripting

CVSS: 5.4v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2024-29894DEBIAN-CVE-2024-29894
Published 13-05-2024Last modified 13-02-2025

Vulnerability summary

CVE-2024-29894 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in cacti. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 59.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.90%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 4 · Related 4

Timeline

  1. 13-05-2024
    PublishedVulnerability first disclosed.
  2. 13-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.90%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

0.00 pp

From 0.90% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.90%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Cacti

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Cacti1 product
Debian1 product
  • cacti< 1.2.24+ds1-1+deb12u3 | < 1.2.27+ds1-1
Fedoraproject1 product
Ubuntu1 product
  • cacti< 1.2.26+ds1-1ubuntu0.1

4 vendors · 4 products

References

7 links