# CVE-2025-31366: An Improper Neutralization of Input During Web Page Generation vulnerability [CWE-79] vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3…

- Severity: Medium 4.5 (CVSS:3.1, scored by fortinet) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P/RL:O/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.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2025-10-14T15:22:57.657Z
- Modified: 2026-10-18T21:10:00.120Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: fortinet

## Description

An Improper Neutralization of Input During Web Page Generation vulnerability [CWE-79] vulnerability in Fortinet FortiOS 7.6.0 through 7.6.3, FortiOS 7.4.0 through 7.4.8, FortiOS 7.2 all versions, FortiOS 7.0 all versions, FortiOS 6.4 all versions, FortiProxy 7.6.0 through 7.6.3, FortiProxy 7.4 all versions, FortiProxy 7.2 all versions, FortiProxy 7.0 all versions, FortiSASE 25.2.a may allow an unauthenticated attacker to perform a reflected cross site scripting (XSS) via crafted HTTP requests.

(As written by CVE List.)

## Affected

- Fortinet FortiSASE: 25.2.a; 25.3.40
- Fortinet FortiOS: from 7.6.0 up to 7.6.2; from 7.4.0 up to 7.4.7; from 7.2.0 up to 7.2.13; from 7.0.0 up to 7.0.19; from 6.4.0 up to 6.4.16; from 6.4.0 before 7.4.9; from 7.6.0 before 7.6.4
- Fortinet FortiProxy: from 7.6.0 up to 7.6.3; from 7.4.0 up to 7.4.8; from 7.2.0 up to 7.2.16; from 7.0.0 up to 7.0.23; from 7.0.0 before 7.6.4

## Every score

- fortinet: CVSS:3.1 4.5 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P/RL:O/RC:C`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://fortiguard.fortinet.com/psirt/FG-IR-24-542> (vendor-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-864900.html>

## Sources

- CVE List: [CVE-2025-31366](https://www.cve.org/CVERecord?id=CVE-2025-31366), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-31366](https://nvd.nist.gov/vuln/detail/CVE-2025-31366), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2025-31366 · Whole record: https://cve.day/CVE-2025-31366.json · Rebuilt by cve.day 2026-11-25T22:59:06.035Z
