Vulnerability · Published Jan 29, 2026 · Assigned by mitre
CVE-2025-45160
Medium 5.4
In plain English
A medium-severity security flaw in the cacti package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u3 | DEBIAN-CVE-2025-45160 |
| Debian:13 | cacti | 1.2.27+ds1-1 | DEBIAN-CVE-2025-45160 |
| Debian:14 | cacti | 1.2.27+ds1-1 | DEBIAN-CVE-2025-45160 |
| Ubuntu:24.04:LTS | cacti | no fix listed | UBUNTU-CVE-2025-45160 |
| Ubuntu:25.10 | cacti | no fix listed | UBUNTU-CVE-2025-45160 |
| Ubuntu:26.04:LTS | cacti | no fix listed | UBUNTU-CVE-2025-45160 |
| Ubuntu:26.10 | cacti | no fix listed | UBUNTU-CVE-2025-45160 |
Affected products (as reported)
Weakness: CWE-80 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N