Skip to content
Fencer Vulns
medium 6.1

CVE-2022-46391 json

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

published 2022-12-04 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-49200

cvss
6.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

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

Patch / fix

  • awstats Debian 14, Debian 13, Debian 12 7.8-3

debian advisories DEBIAN-CVE-2022-46391

  • awstats Ubuntu 18.04 LTS 7.6+dfsg-2ubuntu0.18.04.2
  • awstats Ubuntu 20.04 LTS 7.6+dfsg-2ubuntu0.20.04.2
  • awstats Ubuntu 22.04 LTS 7.8-2ubuntu0.22.04.1
  • awstats Ubuntu Pro 16.04 LTS 7.4+dfsg-1ubuntu0.4+esm2

ubuntu advisories UBUNTU-CVE-2022-46391

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • awstats Alpine 3.17 7.8-r3
  • awstats Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 7.9-r0

alpine advisories ALPINE-CVE-2022-46391

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-46391 updated cvss 8.8

awstats: XSS due to improper input checks

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CNA 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.