# CVE-2022-40680: 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,…

- Severity: Low 3.8 (CVSS:3.1, scored by fortinet) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N/E:P/RL:X/RC:C`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 27% of CVEs (2026-11-30)
- Published: 2022-12-06T16:00:38.136Z
- Modified: 2026-06-17T05:01:49.767Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fortinet

## Description

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.

(As written by CVE List.)

## Affected

- Fortinet FortiProxy: from 7.0.0 up to 7.0.1; from 2.0.0 up to 2.0.11; from 1.2.0 up to 1.2.13; from 1.1.0 up to 1.1.6
- Fortinet FortiOS: from 7.0.0 up to 7.0.3; from 6.4.0 up to 6.4.9; from 6.2.2 up to 6.2.12; from 6.0.7 up to 6.0.15

## Every score

- fortinet: CVSS:3.1 3.8 Low `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N/E:P/RL:X/RC:C`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://fortiguard.com/psirt/FG-IR-21-248> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-40680](https://www.cve.org/CVERecord?id=CVE-2022-40680), CVE Terms of Use, modified 2024-10-22
- NVD: [CVE-2022-40680](https://nvd.nist.gov/vuln/detail/CVE-2022-40680), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40680 · Whole record: https://cve.day/CVE-2022-40680.json · Rebuilt by cve.day 2026-11-25T22:58:17.266Z
