Vulnerability · Published Oct 14, 2025 · Assigned by fortinet

CVE-2025-31366

Medium 4.5

In plain English

A medium-severity cross-site scripting in FortiOS from Fortinet. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities).

Severity (CVSS 3.1)4.5Medium
Exploit odds (30 days)0.4%top 65.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
Fortinet FortiSASE 25.2.a
Fortinet FortiOS 7.6.0 – through 7.6.27.4.0 – through 7.4.77.2.0 – through 7.2.137.0.0 – through 7.0.196.4.0 – through 6.4.16
Fortinet FortiProxy 7.6.0 – through 7.6.37.4.0 – through 7.4.87.2.0 – through 7.2.167.0.0 – through 7.0.23

Weakness: CWE-79 · Vector: 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

References