Description
AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.
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 | 7.8-3 | — |
| Debian 13 | awstats | 7.8-3 | — |
| Debian 12 | awstats | 7.8-3 | — |
| Debian 10 | awstats | 7.6+dfsg-2+deb10u2 | DLA-3225-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | awstats | 7.8-2ubuntu0.22.04.1 | USN-5899-1 |
| Ubuntu 20.04 LTS | awstats | 7.6+dfsg-2ubuntu0.20.04.2 | USN-5899-1 |
| Ubuntu 18.04 LTS | awstats | 7.6+dfsg-2ubuntu0.18.04.2 | USN-5899-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | awstats | 7.4+dfsg-1ubuntu0.4+esm2 | USN-5899-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | awstats | 7.9-r0 | — |
| Alpine v3.23 | awstats | 7.9-r0 | — |
| Alpine v3.22 | awstats | 7.9-r0 | — |
| Alpine v3.21 | awstats | 7.9-r0 | — |
| Alpine v3.20 | awstats | 7.9-r0 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | awstats | 7.9-r0 | — |
| Alpine v3.18 | awstats | 7.9-r0 | — |
| Alpine v3.17 | awstats | 7.8-r3 | — |
Advisories 2
- USN-5899-1 awstats vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-3225-1 awstats - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/eldy/AWStats/pull/226
- [debian-lts-announce] 20221205 [SECURITY] [DLA 3225-1] awstats security update mailing-list
- FEDORA-2023-b645c7feda vendor-advisory
- FEDORA-2023-fda5480804 vendor-advisory