CVEs / CVE-2025-25257
CVE-2025-25257: Fortinet FortiWeb SQL Injection Vulnerability
- Known exploited in the CISA KEV catalog since 18 Jul 2025
- critical 9.8 CVSS 3.1 (NVD)
- EPSS 99.9% chance of exploitation in the next 30 days, higher than 99% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-25257
Summary
Fortinet FortiWeb contains a SQL injection vulnerability that may allow an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.
Description
An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability [CWE-89] vulnerability in Fortinet FortiWeb 7.6.0 through 7.6.3, FortiWeb 7.4.0 through 7.4.7, FortiWeb 7.2.0 through 7.2.10, FortiWeb 7.0.0 through 7.0.10 allows an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Fortinet FortiWeb | from 7.6.0, up to and including 7.6.3 | — |
| Fortinet FortiWeb | from 7.4.0, up to and including 7.4.7 | — |
| Fortinet FortiWeb | from 7.2.0, up to and including 7.2.10 | — |
| Fortinet FortiWeb | from 7.0.0, up to and including 7.0.10 | — |
Exploitation
| In CISA KEV since | 18 Jul 2025 |
|---|---|
| Due date for US federal agencies | 8 Aug 2025 |
| Used in ransomware campaigns | Unknown |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by NVD |
|---|---|
| Weakness | CWE-89 |
References
- CVE-2025-25257 on NVD
- CVE-2025-25257 in the CISA KEV catalog
- https://fortiguard.fortinet.com/psirt/FG-IR-25-151 (cited by CISA)
- https://fortiguard.fortinet.com/psirt/FG-IR-25-151 Vendor Advisory
- https://packetstorm.news/files/id/210193/ Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/52473 Exploit, Third Party Advisory, VDB Entry
- https://github.com/0xbigshaq/CVE-2025-25257 Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-25257 US Government Resource
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.