CVE-2025-31366: Open Redirect and XSS in Web Filter warning page

Published Oct 14, 2025
·
Updated

An Improper Neutralization of Input During Web Page Generation and URL Redirection to Untrusted Site vulnerabilities [CWE-79, CWE-601] in FortiOS, FortiProxy and FortiSASE may allow an unauthenticated attacker to perform a reflected cross site scripting (XSS) or an open redirect attack via crafted HTTP requests.

Other sources

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.

MITRE

Affected Software

18 affected componentsFixes available
Fortinet FortiOS>=7.6.0<=7.6.3, >=7.4.0<7.5.0, >=7.2, >=7.0, >=6.4
Fortinet FortiProxy>=7.6.0<=7.6.3, >=7.4.0<7.5.0, >=7.2, >=7.0
Fortinet FortiSASE
Fortinet FortiOS>=7.6.0<=7.6.3
Fortinet FortiOS>=7.4.0<=7.4.8
Fortinet FortiOS>=7.2
Fortinet FortiOS>=7.0
Fortinet FortiOS>=6.4
Fortinet FortiProxy>=7.6.0<=7.6.3
Fortinet FortiProxy>=7.4
Fortinet FortiProxy>=7.2
Fortinet FortiProxy>=7.0
Fortinet FortiSASE=5
Fortinet FortiOS>=6.4.0<7.4.9
Fortinet FortiOS>=7.6.0<7.6.4
Fortinet FortiProxy>=7.0.0<7.6.4
Fortinet FortiSASE=25.3.40
Fortinet FortiSASE=25.3.40

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade FortiOS to a version that resolves this vulnerability.

    Fixed in 7.4.9
  2. Upgrade

    Upgrade FortiOS to a version that resolves this vulnerability.

    Fixed in 7.6.4
  3. Upgrade

    Upgrade FortiProxy to a version that resolves this vulnerability.

    Fixed in 7.6.4

Event History

Oct 14, 2025
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·03:22 PM
Data Sourced
via MITRE·03:22 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-31366?

CVE-2025-31366 is classified as a high-severity vulnerability due to its potential impact on web security.

2

How do I fix CVE-2025-31366?

To remediate CVE-2025-31366, users should upgrade to the latest patched version of FortiOS, FortiProxy, or FortiSASE as specified by Fortinet.

3

Which versions of FortiOS are affected by CVE-2025-31366?

CVE-2025-31366 affects FortiOS versions 7.6.0 to 7.6.3, as well as versions 7.4.0 to 7.4.7, and all versions from 7.2 down to 6.4.

4

Can CVE-2025-31366 be exploited remotely?

Yes, CVE-2025-31366 can be exploited remotely, increasing the urgency for users to apply security updates.

5

Does CVE-2025-31366 affect FortiProxy?

Yes, CVE-2025-31366 also affects FortiProxy versions 7.6.0 to 7.6.3 and 7.4.0 to 7.4.9, among others.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203