# CVE-2019-16151: Improper neutralization of input during web page generation in FortiOS

- Vendor: Fortinet, FortiOS
- Severity: MEDIUM (CVSS 3.1 4.7)
- Exploited (CISA KEV): not listed
- EPSS: 0.4% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-19-301, https://fortiguard.com/advisory/FG-IR-19-301
- Published: 2025-03-21; updated: 2025-03-21
- Page: https://patchtonight.com/cve/CVE-2019-16151/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiOS 6.4.0 to 6.4.1 | 6.4.2 or later |
| FortiOS 6.2.0 to 6.2.9 | 6.2.10 or later |

## The vendor's description

An improper neutralization of input during web page generation vulnerability [CWE-79] in FortiOS 6.4.1 and below, 6.2.9 and below may allow a remote unauthenticated attacker to either redirect users to malicious websites via a crafted "Host" header or to execute JavaScript code in the victim's browser context.
This happens when the FortiGate has web filtering and category override enabled/configured.

## Sources

- [Fortinet advisory](https://fortiguard.com/advisory/FG-IR-19-301)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
