# CVE-2022-46391: awstats: AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper...

CVE-2022-46391 is fixed in awstats on 1 platform, first by awstats 7.6+dfsg-2ubuntu0.18.04.2, released December 3, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-46391
- Priority: Routine
- CVSS: 6.1 (Low)
- EPSS: 0.0071
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 3, 2022

## Description

AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | awstats Debian 12.15 (bookworm) | 7.8-3 | [DEBIAN-CVE-2022-46391](https://patchblox.com/security/data/fix/linux/debian-cve-2022-46391.md) | Dec 4, 2022 |
| Linux | awstats Debian 13.5 (trixie) | 7.8-3 | [DEBIAN-CVE-2022-46391](https://patchblox.com/security/data/fix/linux/debian-cve-2022-46391.md) | Dec 4, 2022 |
| Linux | awstats Debian 14 | 7.8-3 | [DEBIAN-CVE-2022-46391](https://patchblox.com/security/data/fix/linux/debian-cve-2022-46391.md) | Dec 4, 2022 |
| Linux | awstats Ubuntu 18.04.6 LTS (bionic) | 7.6+dfsg-2ubuntu0.18.04.2 | [awstats 7.6+dfsg-2ubuntu0.18.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-awstats-7.6-dfsg-2ubuntu0.18.04.2.md) | Dec 3, 2022 |
| Linux | awstats Ubuntu 20.04 LTS (focal) | 7.6+dfsg-2ubuntu0.20.04.2 | [awstats 7.6+dfsg-2ubuntu0.20.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-awstats-7.6-dfsg-2ubuntu0.20.04.2.md) | Dec 3, 2022 |
| Linux | awstats Ubuntu 22.04.1 LTS (jammy) | 7.8-2ubuntu0.22.04.1 | [awstats 7.8-2ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-awstats-7.8-2ubuntu0.22.04.1.md) | Dec 3, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
