CVE-2021-43062: A improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiMail version 7.0.1 and 7.0.0, ver…

CVE-2021-43062 affects 25 listed versions of Fortinet FortiMail in the Dawnsentry catalogue.

6.1CVSS medium
Proof of concept publicexploitation
13%EPSS (next 30 days)
2 February 2022published

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 FortiMail

25 of 136 listed versions are affected. Fixed in 7.0.2, 6.4.6, 6.2.8. The newest release, 8.0.3, is not affected.

7.0.1 7.0.0 7.0 6.4.5 6.4.4 6.4.2 6.4.1 6.4.0 6.4 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 6.2.1 6.2.0 6.2 6.0.11 6.0.10 6.0.9 6.0.8 6.0.7 6.0.6 6.0.0

What it is

A improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiMail version 7.0.1 and 7.0.0, version 6.4.5 and below, version 6.3.7 and below, version 6.0.11 and below allows attacker to execute unauthorized code or commands via crafted HTTP GET requests to the FortiGuard URI protection service.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD)

Published by Fortinet on 2 February 2022. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2021-43062 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.