CVE-2025-31366: fortinet fortios Cross-site Scripting
Vulnerability summary
CVE-2025-31366 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in fortinet fortios. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 32.9% of scored vulnerabilities.
Timeline
- 14-10-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA4.5MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P/RL:O/RC:CDiffers
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
33%
Versus all other CVEs
30-day change
0.00 pp
From 0.40% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Fortinet3 products
- fortios≥ 7.6.0, ≤ 7.6.2 | ≥ 7.4.0, ≤ 7.4.7 | ≥ 7.2.0, ≤ 7.2.13 | ≥ 7.0.0, ≤ 7.0.19 | ≥ 6.4.0, ≤ 6.4.16 | ≥ 6.4.0, < 7.4.9 | ≥ 7.6.0, < 7.6.4
- fortiproxy≥ 7.6.0, ≤ 7.6.3 | ≥ 7.4.0, ≤ 7.4.8 | ≥ 7.2.0, ≤ 7.2.16 | ≥ 7.0.0, ≤ 7.0.23 | ≥ 7.0.0, < 7.6.4
- fortisase25.2.a | 25.3.40
1 vendor · 3 products
References
2 links- fortiguard.fortinet.com/psirt/FG-IR-24-542Vendor Advisory