Description
In clearFilter() in utilities.php in Cacti before 1.2.3, no escaping occurs before printing out the value of the SNMP community string (SNMP Options) in the View poller cache, leading to 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.2+ds1-2 | — |
| Debian 13 | cacti | 1.2.2+ds1-2 | — |
| Debian 12 | cacti | 1.2.2+ds1-2 | — |
| Debian 9 | cacti | 0.8.8h+ds1-10+deb9u2 | DLA-2965-1 |
| Debian 8 | cacti | 0.8.8b+dfsg-8+deb8u7 | DLA-1757-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 | — |
Advisories 2
- DLA-2965-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1757-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026