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

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.88%, higher than 60% of CVEs (2026-12-01)
- Published: 2022-12-04T00:00:00.000Z
- Modified: 2026-06-17T05:11:40.520Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- awstats awstats: from 7.0 up to 7.8
- debian debian_linux: 10.0
- fedoraproject fedora: 36; 37

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/eldy/AWStats/pull/226> (issue-tracking, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/12/msg00010.html> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GRFYH4DE3COMI3LJCOQQXA4FWOABU6Z2/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MYUZIFVB4N3NK4WGNHRNXZKJITCJBJX4/> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-46391](https://www.cve.org/CVERecord?id=CVE-2022-46391), CVE Terms of Use, modified 2025-04-24
- NVD: [CVE-2022-46391](https://nvd.nist.gov/vuln/detail/CVE-2022-46391), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-46391 · Whole record: https://cve.day/CVE-2022-46391.json · Rebuilt by cve.day 2026-11-25T22:58:17.202Z
