Description
Cacti 1.2.8 has stored XSS in data_sources.php, color_templates_item.php, graphs.php, graph_items.php, lib/api_automation.php, user_admin.php, and user_group_admin.php, as demonstrated by the description parameter in data_sources.php (a raw string from the database that is displayed by $header to trigger the XSS).
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.9+ds1-1 | — |
| Debian 13 | cacti | 1.2.9+ds1-1 | — |
| Debian 12 | cacti | 1.2.9+ds1-1 | — |
| Debian 9 | cacti | 0.8.8h+ds1-10+deb9u2 | DLA-2965-1 |
| Debian 8 | cacti | 0.8.8b+dfsg-8+deb8u9 | DLA-2069-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 16.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 14.04 LTS | cacti | 0.8.8b+dfsg-5ubuntu0.2+esm1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP1 | cacti +1 | 1.2.9-bp151.4.3.1 | openSUSE-SU-2020:0654-1, openSUSE-SU-2020:0565-1, openSUSE-SU-2020:0284-1 |
| SUSE Package Hub 12 | cacti | 1.2.11-5.1 | openSUSE-SU-2020:0654-1, openSUSE-SU-2020:0558-1 |
| SUSE Package Hub 12 | cacti-spine | 1.2.11-2.1 | openSUSE-SU-2020:0654-1, openSUSE-SU-2020:0558-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cacti | 1.2.18-1.2 | openSUSE-SU-2024:10670-1 |
| openSUSE Leap 15.1 | cacti +1 | 1.2.9-lp151.3.3.1 | openSUSE-SU-2020:0654-1, openSUSE-SU-2020:0558-1, openSUSE-SU-2020:0272-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | cacti | 1.2.8-r0 | — |
| Alpine v3.23 | cacti | 1.2.8-r0 | — |
| Alpine v3.22 | cacti | 1.2.8-r0 | — |
| Alpine v3.21 | cacti | 1.2.8-r0 | — |
| Alpine v3.20 | cacti | 1.2.8-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | cacti | 1.2.8-r0 | — |
| Alpine v3.18 | cacti | 1.2.8-r0 | — |
| Alpine v3.17 | cacti | 1.2.8-r0 | — |
| Alpine v3.16 | cacti | 1.2.8-r0 | — |
| Alpine v3.15 | cacti | 1.2.8-r0 | — |
| Alpine v3.14 | cacti | 1.2.8-r0 | — |
| Alpine v3.13 | cacti | 1.2.8-r0 | — |
| Alpine v3.12 | cacti | 1.2.8-r0 | — |
| Alpine v3.11 | cacti | 1.2.8-r0 | — |
Advisories 8
- DLA-2069-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2965-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2020:0565-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0558-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10670-1 cacti-1.2.18-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0272-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0654-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0284-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/Cacti/cacti/issues/3191
- [debian-lts-announce] 20200118 [SECURITY] [DLA 2069-1] cacti security update mailing-list
- FEDORA-2020-0fc6dd0fd2 vendor-advisory
- FEDORA-2020-90f1c8229e vendor-advisory
- openSUSE-SU-2020:0272 vendor-advisory
- openSUSE-SU-2020:0284 vendor-advisory
- GLSA-202003-40 vendor-advisory
- openSUSE-SU-2020:0558 vendor-advisory
- openSUSE-SU-2020:0565 vendor-advisory
- openSUSE-SU-2020:0654 vendor-advisory
- [debian-lts-announce] 20220329 [SECURITY] [DLA 2965-1] cacti security update mailing-list