CVE-2022-40676 Cross-site scripting in FortiNAC
An attacker can execute unauthorized code via specially crafted HTTP requests due to improper input neutralization in FortiNAC.
- 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
- None listed
What is CVE-2022-40676?
CVE-2022-40676 is a high-severity cross-site scripting vulnerability in Fortinet FortiNAC, published on 7 Mar 2023. 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
A improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiNAC versions 9.4.0, 9.2.0 through 9.2.5, 9.1.0 through 9.1.8, 8.8.0 through 8.8.11, 8.7.0 through 8.7.6, 8.6.0 through 8.6.5, 8.5.0 through 8.5.4, 8.3.7 allows attacker to execute unauthorized code or commands via specially crafted http requests.
Weakness: CWE-79
Which versions are affected by CVE-2022-40676?
It affects 1 product.
Products include Fortinet Fortinac.
How do I fix CVE-2022-40676?
No fix has been published for CVE-2022-40676 yet. Limit exposure of the affected software until one is available.
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-40676 being exploited?
There is no known exploitation of CVE-2022-40676 in the wild and no public exploit code.
Other vulnerabilities in Fortinet FortiNAC
Sources
Also known as GHSA-6c4j-vvvq-q626.