CWE
79
Advisory Published
Advisory Published
CVE Published
Updated

CVE-2019-16151: [FortiOS][Web filtering] Host header is vulnerable to an XSS vulnerability and redirection/injection

First published: Tue Sep 07 2021(Updated: )

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.

Credit: psirt@fortinet.com

Affected SoftwareAffected VersionHow to fix
FortiOS<6.4.1<6.2.9

Remedy

Please upgrade to FortiOS version 6.4.2 or above. Please upgrade to FortiOS version 6.2.10 or above.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2019-16151?

    CVE-2019-16151 is classified as a medium severity vulnerability due to its potential to allow exploitation by remote unauthenticated attackers.

  • What types of attacks can be executed via CVE-2019-16151?

    CVE-2019-16151 can allow attackers to redirect users to malicious websites or execute arbitrary JavaScript code.

  • Which versions of FortiOS are affected by CVE-2019-16151?

    CVE-2019-16151 affects FortiOS versions 6.4.1 and below, and 6.2.9 and below.

  • How do I fix CVE-2019-16151?

    To mitigate CVE-2019-16151, upgrade FortiOS to the latest version that addresses this vulnerability.

  • Is user authentication needed to exploit CVE-2019-16151?

    No, CVE-2019-16151 can be exploited by remote unauthenticated attackers.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203