{"id":"CVE-2022-46391","aliases":["ALPINE-CVE-2022-46391","DEBIAN-CVE-2022-46391","DLA-3225-1","EUVD-2022-49200","GHSA-j6xf-hwqw-qjg4","MGASA-2022-0461","UBUNTU-CVE-2022-46391","USN-5899-1"],"status":"published","title":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net:...","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00736,"percentile":0.54909,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-12-04T00:00:00Z","modified":"2026-11-03T07:30:59Z","fixes":[{"ecosystem":"Alpine:v3.17","package":"awstats","fixed_in":["7.8-r3"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"awstats","fixed_in":["7.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"awstats","fixed_in":["7.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"awstats","fixed_in":["7.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"awstats","fixed_in":["7.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"awstats","fixed_in":["7.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"awstats","fixed_in":["7.9-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"awstats","fixed_in":["7.9-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"awstats","fixed_in":["7.8-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"awstats","fixed_in":["7.8-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"awstats","fixed_in":["7.8-3"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"awstats","fixed_in":["7.6+dfsg-2+deb10u2"],"sources":["osv"]},{"ecosystem":"Mageia:8","package":"awstats","fixed_in":["7.8-2.1.mga8"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"awstats","fixed_in":["7.4+dfsg-1ubuntu0.4+esm2"],"sources":["osv"]},{"ecosystem":"Ubuntu:18.04:LTS","package":"awstats","fixed_in":["7.6+dfsg-2ubuntu0.18.04.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:20.04:LTS","package":"awstats","fixed_in":["7.6+dfsg-2ubuntu0.20.04.2"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"awstats","fixed_in":["7.8-2ubuntu0.22.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.17","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0"},{"fixed":"7.8-r3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0"},{"fixed":"7.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0"},{"fixed":"7.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0"},{"fixed":"7.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0"},{"fixed":"7.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0"},{"fixed":"7.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0"},{"fixed":"7.9-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0"},{"fixed":"7.9-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8-3"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.6+dfsg-2+deb10u2"}]}],"versions":["7.6+dfsg-2","7.6+dfsg-2+deb10u1"]},{"source":"osv","ecosystem":"Mageia:8","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8-2.1.mga8"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"awstats","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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"awstats","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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"awstats","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"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8-2ubuntu0.22.04.1"}]}],"versions":["7.8-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"awstats","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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"awstats","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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"awstats","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"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"awstats","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8-2ubuntu0.22.04.1"}]}],"versions":["7.8-2"]}],"products":[{"vendor":"awstats","product":"awstats"},{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"}],"references":[{"url":"https://github.com/eldy/AWStats/pull/226","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/12/msg00010.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GRFYH4DE3COMI3LJCOQQXA4FWOABU6Z2/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MYUZIFVB4N3NK4WGNHRNXZKJITCJBJX4/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46391","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GRFYH4DE3COMI3LJCOQQXA4FWOABU6Z2"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MYUZIFVB4N3NK4WGNHRNXZKJITCJBJX4"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GRFYH4DE3COMI3LJCOQQXA4FWOABU6Z2"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MYUZIFVB4N3NK4WGNHRNXZKJITCJBJX4"},{"url":"https://github.com/advisories/GHSA-j6xf-hwqw-qjg4"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-46391","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46391.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-46391","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0461.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31230","tags":["report"]},{"url":"https://www.debian.org/lts/security/2022/dla-3225","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2022-46391","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-5899-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-46391","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-46391","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","status":"published","published":"2022-12-04T00:00:00Z","modified":"2025-04-24T15:20:34.836Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:31.840191Z"}],"euvd":[{"id":"EUVD-2022-49200","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","status":"published","published":"2022-12-04T00:00:00Z","modified":"2025-04-24T15:20:34Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:52:04.118749Z"}],"ghsa":[{"id":"GHSA-j6xf-hwqw-qjg4","title":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net:...","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","status":"published","published":"2022-12-04T03:30:27Z","modified":"2025-04-24T18:32:05Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:02:01.717603Z"}],"nvd":[{"id":"CVE-2022-46391","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","status":"published","published":"2022-12-04T03:15:09.967Z","modified":"2026-06-17T05:11:40.52Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:33.239526Z"}],"osv":[{"id":"ALPINE-CVE-2022-46391","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","status":"published","published":"2022-12-04T03:15:09.967Z","modified":"2026-11-03T07:30:59.251625892Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"id":"CVE-2022-46391","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","status":"published","published":"2022-12-04T00:00:00Z","modified":"2026-10-28T02:30:34.640088715Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:27.481647Z"},{"id":"UBUNTU-CVE-2022-46391","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","status":"published","published":"2022-12-04T03:15:00Z","modified":"2026-02-04T04:08:14.304844Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:56.473586Z"},{"id":"DEBIAN-CVE-2022-46391","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.","status":"published","published":"2022-12-04T03:15:09.967Z","modified":"2026-11-03T06:02:47.913758819Z","updated_at":"2026-11-03T06:43:43.638289Z"},{"id":"DLA-3225-1","title":"awstats - security update","status":"published","published":"2022-12-05T00:00:00Z","modified":"2026-03-09T01:19:07.552695Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"MGASA-2022-0461","title":"Updated awstats packages fix security vulnerability","description":"AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing\na response from Net::XWhois without proper checks. (CVE-2022-46391)\n","status":"published","published":"2022-12-13T22:09:19Z","modified":"2026-04-16T04:42:37.18346229Z","updated_at":"2026-11-02T15:49:42.263076Z"},{"id":"USN-5899-1","title":"awstats vulnerability","description":"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","status":"published","published":"2023-02-28T08:23:55Z","modified":"2026-06-25T13:31:48.492094674Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
