CVE-2022-46391 Cross-site scripting in n/a
Cross-site scripting in AWStats hostinfo plugin allows attackers to inject scripts via Net::XWhois responses, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-46391?
CVE-2022-46391 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 4 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.
Weakness: CWE-79
Which versions are affected by CVE-2022-46391?
It affects 3 products.
Products include Awstats Awstats, Debian Debian Linux, Fedoraproject Fedora.
How do I fix CVE-2022-46391?
Apply the vendor's patch.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-46391 being exploited?
There is no known exploitation of CVE-2022-46391 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2022-46391, DEBIAN-CVE-2022-46391, DLA-3225-1, GHSA-j6xf-hwqw-qjg4, MGASA-2022-0461, UBUNTU-CVE-2022-46391 and 1 more.