CVE-2021-22122: An improper neutralization of input during web page generation in FortiWeb GUI interface 6.3.0 through 6.3.7 and version before 6.2.4 may…
CVE-2021-22122 affects 59 listed versions of Fortinet FortiWeb in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Fortinet FortiWeb
59 of 151 listed versions are affected. Fixed in 6.2.4. The newest release, 8.0.8, is not affected.
6.3.7 6.3.5 6.2.3 6.2.2 6.2.0 6.2 6.1.4 6.1.3 6.1.2 6.1.1 6.1.0 6.1 6.0.8 6.0.7 6.0.6 6.0.5 6.0.4 6.0.3 6.0.2 6.0.0 6.0 5.9.2 5.9.1 5.9.0 5.8.7 5.8.6 5.8.3 5.8.2 5.8.0 5.7.3 5.7.1 5.6.2 5.6.0 5.5.7 5.5.2 5.4.1 5.3.9 5.3.4 5.3.3 5.3.2 5.3.1 5.3.0 5.2.4 5.2.3 5.2.2 5.2.1 5.2.0 5.1.4 5.1.3 5.1.2 5.1.1 5.1.0 5.0.6 5.0.4 5.0.3 5.0.2 5.0.0 4.4.4 3.0.0
What it is
An improper neutralization of input during web page generation in FortiWeb GUI interface 6.3.0 through 6.3.7 and version before 6.2.4 may allow an unauthenticated, remote attacker to perform a reflected cross site scripting attack (XSS) by injecting malicious payload in different vulnerable API end-points.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD)
Published by Fortinet on 8 February 2021. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).
Sources
Check one version you run: look CVE-2021-22122 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.