CVE-2025-31366
Fortinet FortiSASE: Improper Neutralization of Input During Web Page Generation
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.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 26.1% of all scored CVEs. Scores of 29 Nov 2026.
The assessment of CISA (SSVC, 14 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| FortiSASE |
affected 25.2.a
Other versions: unaffected
|
| FortiOS |
affected from 7.6.0 up to and including 7.6.2 affected from 7.4.0 up to and including 7.4.7 affected from 7.2.0 up to and including 7.2.13 affected from 7.0.0 up to and including 7.0.19 affected from 6.4.0 up to and including 6.4.16
Other versions: unaffected
|
| FortiProxy |
affected from 7.6.0 up to and including 7.6.3 affected from 7.4.0 up to and including 7.4.8 affected from 7.2.0 up to and including 7.2.16 affected from 7.0.0 up to and including 7.0.23
Other versions: unaffected
|
Is my server affected?
This CVE is in FortiSASE of Fortinet, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://fortiguard.fortinet.com/psirt/FG-IR-24-542 fortiguard.fortinet.com
- https://cert-portal.siemens.com/productcert/html/ssa-864900.html cert-portal.siemens.com
Source: the record CVE-2025-31366 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse