Description
Multiple cross-site scripting (XSS) vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allow remote attackers to inject arbitrary web script or HTML via (1) the view_type parameter to graph.php; (2) the filter parameter to graph_view.php; (3) the action parameter to the draw_navigation_text function in lib/functions.php, reachable through index.php (aka the login page) or data_input.php; or (4) the login_username parameter to index.php.
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 | 0.8.7b-1 | — |
| Debian 13 | cacti | 0.8.7b-1 | — |
| Debian 12 | cacti | 0.8.7b-1 | — |
| Debian 4.0 | cacti | 0.8.6i-3.3 | DSA-1569-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- Cacti 0.8.7 - 'graph.php?view_type' Cross-Site Scripting EDB-31157 · webapps · Feb 12, 2008 · verified
- Cacti 0.8.7 - 'graph_view.php?filter' Cross-Site Scripting EDB-31158 · webapps · Feb 12, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1569-1 cacti - multiple vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- FEDORA-2008-1737 vendor-advisory
- cacti-datainput-xss(50575) vdb-entry
- http://bugs.cacti.net/view.php?id=1245
- 29242 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=432758
- 3657 third-party-advisory
- SUSE-SR:2008:005 vendor-advisory
- GLSA-200803-18 vendor-advisory
- 28872 third-party-advisory
- MDVSA-2008:052 vendor-advisory
- http://www.cacti.net/release_notes_0_8_7b.php
- 30045 third-party-advisory
- 29274 third-party-advisory
- 20080212 cacti -- Multiple security vulnerabilities have been discovered mailing-list
- ADV-2008-0540 vdb-entry
- 27749 vdb-entry
- DSA-1569 vendor-advisory
- 28976 third-party-advisory
- FEDORA-2008-1699 vendor-advisory
- 1019414 vdb-entry
- 20080212 Cacti 0.8.7a Multiple Vulnerabilities mailing-list
- 34991 vdb-entry