CVE-2022-40680: Fortinet FortiOS

Medium severity, CVSS 5.4. EPSS: 0.4% chance of exploitation in the next 30 days.

A improper neutralization of input during web page generation ('cross-site scripting') in Fortinet FortiOS 6.0.7 - 6.0.15, 6.2.2 - 6.2.12, 6.4.0 - 6.4.9 and 7.0.0 - 7.0.3 allows a privileged attacker to execute unauthorized code or commands via storing malicious payloads in replacement messages.

Affected products

  • Fortinet FortiOS: from 6.0.7, up to and including 6.0.15; from 6.2.2, up to and including 6.2.12; from 6.4.0, up to and including 6.4.9; from 7.0.0, up to and including 7.0.3

Published 2022-12-06. Last modified 2026-06-17.