{"id":"USN-5899-1","summary":"awstats vulnerability","details":"It was discovered that AWStats did not properly sanitize the content of\nwhois responses in the hostinfo plugin. An attacker could possibly use\nthis issue to conduct cross-site scripting (XSS) attacks.\n","modified":"2026-06-25T13:31:48.492094674Z","published":"2023-02-28T08:23:55Z","related":["UBUNTU-CVE-2022-46391"],"upstream":["CVE-2022-46391","UBUNTU-CVE-2022-46391"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5899-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-46391"}],"affected":[{"package":{"name":"awstats","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/awstats?arch=source&distro=esm-infra%2Fxenial"},"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":{"binaries":[{"binary_name":"awstats","binary_version":"7.4+dfsg-1ubuntu0.4+esm2"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2022-46391","severity":[{"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":"CVSS_V3"},{"type":"Ubuntu","score":"low"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5899-1.json"}},{"package":{"name":"awstats","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/awstats?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":{"binaries":[{"binary_name":"awstats","binary_version":"7.6+dfsg-2ubuntu0.18.04.2"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"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"}],"id":"CVE-2022-46391"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5899-1.json"}},{"package":{"name":"awstats","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/awstats?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_version":"7.6+dfsg-2ubuntu0.20.04.2","binary_name":"awstats"}]},"database_specific":{"cves_map":{"cves":[{"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"}],"id":"CVE-2022-46391"}],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5899-1.json"}},{"package":{"name":"awstats","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/awstats?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_version":"7.8-2ubuntu0.22.04.1","binary_name":"awstats"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2022-46391","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","type":"CVSS_V3"},{"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"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5899-1.json"}}],"schema_version":"1.7.5"}