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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cacti | 1.2.27+ds1-1 | — |
| Debian 13 | cacti | 1.2.27+ds1-1 | — |
| Debian 12 | cacti | 1.2.24+ds1-1+deb12u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | cacti | No fix yet | — |
| Ubuntu 26.04 LTS | cacti | No fix yet | — |
| Ubuntu 25.10 | cacti | No fix yet | — |
| Ubuntu 24.04 LTS | cacti | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 20.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 18.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 16.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 14.04 LTS | cacti | No fix yet | — |
Advisories 1
- WID-SEC-2026-0259 Cacti: Schwachstelle ermöglicht Manipulation von Dateien BSI CERT-Bund (WID) · Jan 29, 2026