Description
Cross-site scripting (XSS) vulnerability in awstats.pl in AWStats 6.5 and earlier allows remote attackers to inject arbitrary web script or HTML via the config parameter. NOTE: this might be the same core issue as CVE-2005-2732.
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 | awstats | 6.5-2 | — |
| Debian 13 | awstats | 6.5-2 | — |
| Debian 12 | awstats | 6.5-2 | — |
| Debian 3.1 | awstats | 6.4-1sarge3 | DSA-1075-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 1
- AWStats 4.0/5.x/6.x - AWStats.pl Multiple Cross-Site Scripting Vulnerabilities EDB-27694 · webapps · Apr 19, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1075-1 awstats - programming error Debian Security (DSA / DLA) · Mar 9, 2026
References
- 20496 third-party-advisory
- http://pridels0.blogspot.com/2006/04/awstats-65-vuln.html
- 17621 vdb-entry
- GLSA-200606-06 vendor-advisory