CVE catalog

CVE-2025-45160

cacti: CVE-2025-45160

[CVE catalog]

Severity
Medium · CVSS 4.6CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.22% · Oct 25, 2026

A HTML injection vulnerability exists in the file upload functionality of Cacti <= 1.2.29. When a file with an invalid format is uploaded, the application reflects the submitted filename back into an error popup without proper sanitization. As a result, attackers can inject arbitrary HTML elements (e.g., <h1>, <b>, <svg>) into the rendered page. NOTE: Multiple third-parties including the maintainer have stated that they cannot reproduce this issue after 1.2.27.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancactisid1.2.31+ds1-4fixed
Debiancactiforky1.2.31+ds1-4fixed
Debiancactitrixie1.2.30+ds1-1fixed
Debiancactibookworm1.2.24+ds1-1+deb12u5fixed
Debiancactibookworm-security1.2.24+ds1-1+deb12u5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancactisourcesid1.2.27+ds1-1not yet assignedNot reportedNot reported
Debiancactisourceforky1.2.27+ds1-1not yet assignedNot reportedNot reported
Debiancactisourcetrixie1.2.27+ds1-1not yet assignedNot reportedNot reported
Debiancactisourcebookworm1.2.24+ds1-1+deb12u3not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [cacti]Fixed
    Details (4)
    • 1.2.24+ds1-1+deb12u5 · all · bookworm

      Fixed · Fixed: 1.2.24+ds1-1+deb12u3

      dsa · cacti · debian · bookworm; dsa · cacti · debian · 12

    • 1.2.24+ds1-1+deb12u5 · all · bookworm

      Fixed · Fixed: 1.2.24+ds1-1+deb12u3

      dsa · cacti · debian · bookworm; dsa · cacti · debian · 12

    • 1.2.24+ds1-1+deb12u5 · all · bookworm-security

      Fixed · Fixed: 1.2.24+ds1-1+deb12u3

      dsa · cacti · debian · bookworm; dsa · cacti · debian · 12

    • 1.2.24+ds1-1+deb12u5 · all · bookworm-security

      Fixed · Fixed: 1.2.24+ds1-1+deb12u3

      dsa · cacti · debian · bookworm; dsa · cacti · debian · 12

[Debian 13 (Trixie)]

  • [cacti]Fixed
    Details (2)
    • 1.2.30+ds1-1 · all · trixie

      Fixed · Fixed: 1.2.27+ds1-1

      dsa · cacti · debian · 13

    • 1.2.30+ds1-1 · all · trixie

      Fixed · Fixed: 1.2.27+ds1-1

      dsa · cacti · debian · 13

Observed:

References