CVE-2025-25257 Fortinet FortiWeb: database injection
In plain words: Text typed into the app ends up changing the database query behind it. Reading, changing or stealing data from the database.
Confirmed exploited by CISA on · US federal patch deadline Aug 8, 2025
What to do
- Install Fortinet's security update for FortiWeb. If no update exists, follow the vendor's workaround or stop using the product until one ships.
- Patch edge devices first — attackers often start scanning for them within hours of a fix.
- Never expose the device's admin page to the internet.
- After patching a device that was exposed, follow the vendor's compromise checks, end active sessions and change passwords.
Who is affected
Work IT. Aimed mostly at company systems — you are affected through the companies you use, not your own phone.
What's at risk: They face the internet and guard the whole network, so a flaw here can hand attackers a way in — and these devices usually run no antivirus, so break-ins go unnoticed.
The details
- Official name
- Fortinet FortiWeb SQL Injection Vulnerability
- Product
- Fortinet FortiWeb
- CISA description
- 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.
- Type of flaw
- Database injection (CWE-89)
- Confirmed exploited
- Jul 18, 2025
- US federal patch deadline
- Aug 8, 2025
Ask Cleus about it
Ask about a vulnerability, an update, a weird message, or the news. Plain-word answers, free, no account.
Answering about CVE-2025-25257 ·
Questions about CVE-2025-25257
Is CVE-2025-25257 being exploited?
Yes. CISA added CVE-2025-25257 to its Known Exploited Vulnerabilities catalog on Jul 18, 2025, which means there is reliable evidence of real-world attacks.
How do I fix CVE-2025-25257?
Install Fortinet's security update for FortiWeb. If no update exists, follow the vendor's workaround or stop using the product until one ships. Patch edge devices first — attackers often start scanning for them within hours of a fix.
Am I affected by CVE-2025-25257?
Only if you use Fortinet FortiWeb. Aimed mostly at company systems — you are affected through the companies you use, not your own phone.