Skip to content
TrackCVE
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2025-31366

An Improper Neutralization of Input During Web Page Generation vulnerability [CWE-79] vulnerability in Fortinet FortiOS 7.6.0 through…

Medium4.5EPSS 0.40%
Published
Updated
Reserved
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.

Timeline

  1. ID reserved

    By fortinet

  2. · 7 months later

    Published

  3. · 12 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2025-31366, by who scored it
Scored byCVSSScoreVector
fortinetCNA (assigner)3.1Medium4.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P/RL:O/RC:C
NVDNVD · Modified3.1Medium6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (exploitation in 30 days)
0.40% · top 65% of all CVEs (7 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.5.

Weakness

Affected products

  • Fortinet · FortiSASE

    • affected 25.2.a
  • Fortinet · FortiOS

    • affected 7.6.0 – ≤ 7.6.2
    • affected 7.4.0 – ≤ 7.4.7
    • affected 7.2.0 – ≤ 7.2.13
    • affected 7.0.0 – ≤ 7.0.19
    • affected 6.4.0 – ≤ 6.4.16
  • Fortinet · FortiProxy

    • affected 7.6.0 – ≤ 7.6.3
    • affected 7.4.0 – ≤ 7.4.8
    • affected 7.2.0 – ≤ 7.2.16
    • affected 7.0.0 – ≤ 7.0.23

What to do

Solution: Upgrade to FortiOS version 7.6.4 or above Upgrade to FortiOS version 7.4.9 or above Fortinet remediated this issue in FortiSASE version 25.3.b and hence customers do not need to perform any action. Upgrade to FortiProxy version 7.6.4 or above

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2025-31366 badge
[![CVE-2025-31366](https://trackcve.app/badge/CVE-2025-31366.svg)](https://trackcve.app/cve/CVE-2025-31366)

Record last updated .