FortiOS
CVE-2019-16151: Improper neutralization of input during web page generation in FortiOS
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.
Published
Automatic summary from the vendor's CVE record. We haven't written a full analysis of this vulnerability yet.
Affected and fixed versions
| Product / branch | 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 |
Always confirm against the vendor advisory, which lists every fixed hotfix.
What it is
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
KEV status, EPSS score and vendor data refreshed automatically, last on 10 Oct 2026.