CVE-2021-24021 Cross-site scripting in Fortinet FortiAnalyzer
Remote authenticated attackers can execute stored cross-site scripting attacks via Logview column settings in FortiAnalyzer, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-24021?
CVE-2021-24021 is a medium-severity cross-site scripting vulnerability in Fortinet Fortianalyzer, published on 6 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An improper neutralization of input vulnerability [CWE-79] in FortiAnalyzer versions 6.4.3 and below, 6.2.7 and below and 6.0.10 and below may allow a remote authenticated attacker to perform a stored cross site scripting attack (XSS) via the column settings of Logview in FortiAnalyzer, should the attacker be able to obtain that POST request, via other, hypothetical attacks.
Weakness: CWE-79
Which versions are affected by CVE-2021-24021?
It affects 1 product.
Products include Fortinet Fortianalyzer.
How do I fix CVE-2021-24021?
No fix has been published for CVE-2021-24021 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-2021-24021 being exploited?
There is no known exploitation of CVE-2021-24021 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortianalyzer
- CVE-2026-24858 Fortinet Multiple Products Authentication Bypass Using an Alternate Path or Channel
- CVE-2023-25610 Memory corruption in FortiAnalyzer
- CVE-2021-32603 Server-side request forgery in Fortinet FortiAnalyzer, FortiManager
- CVE-2020-12817 Cross-site scripting in Fortinet FortiAnalyzer
- CVE-2024-48886 Auth bypass in FortiOS
Sources
Also known as GHSA-v56v-j2pc-w577.