{"id":"UBUNTU-CVE-2022-46391","details":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","modified":"2026-02-04T04:08:14.304844Z","published":"2022-12-04T03:15:00Z","related":["USN-5899-1"],"upstream":["CVE-2022-46391"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-46391"},{"type":"REPORT","url":"https://github.com/eldy/AWStats/pull/226"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5899-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-46391"}],"affected":[{"package":{"name":"awstats","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/awstats@7.4+dfsg-1ubuntu0.4+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.4+dfsg-1ubuntu0.4+esm2"}]}],"versions":["7.4+dfsg-1","7.4+dfsg-1ubuntu0.1","7.4+dfsg-1ubuntu0.2","7.4+dfsg-1ubuntu0.3","7.4+dfsg-1ubuntu0.4+esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"awstats","binary_version":"7.4+dfsg-1ubuntu0.4+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46391.json"}},{"package":{"name":"awstats","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/awstats@7.6+dfsg-2ubuntu0.18.04.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.6+dfsg-2ubuntu0.18.04.2"}]}],"versions":["7.6+dfsg-1","7.6+dfsg-1ubuntu2","7.6+dfsg-2","7.6+dfsg-2ubuntu0.18.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"awstats","binary_version":"7.6+dfsg-2ubuntu0.18.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46391.json"}},{"package":{"name":"awstats","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/awstats@7.6+dfsg-2ubuntu0.20.04.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.6+dfsg-2ubuntu0.20.04.2"}]}],"versions":["7.6+dfsg-2","7.6+dfsg-2ubuntu0.20.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"awstats","binary_version":"7.6+dfsg-2ubuntu0.20.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46391.json"}},{"package":{"name":"awstats","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/awstats@7.8-2ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8-2ubuntu0.22.04.1"}]}],"versions":["7.8-2"],"ecosystem_specific":{"binaries":[{"binary_name":"awstats","binary_version":"7.8-2ubuntu0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-46391.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"low"}]}