CVE-2019-6697 Cross-site scripting in FortiOS
An unauthenticated attacker on the same network can inject malicious scripts via crafted DHCP packets, leading to stored XSS on the FortiGate management interface.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-6697?
CVE-2019-6697 is a medium-severity cross-site scripting vulnerability in Fortinet Fortios, published on 17 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An Improper Neutralization of Input vulnerability affecting FortiGate version 6.2.0 through 6.2.1, 6.0.0 through 6.0.6 in the hostname parameter of a DHCP packet under DHCP monitor page may allow an unauthenticated attacker in the same network as the FortiGate to perform a Stored Cross Site Scripting attack (XSS) by sending a crafted DHCP packet.
Weakness: CWE-79
Which versions are affected by CVE-2019-6697?
It affects 1 product.
Products include Fortinet Fortios.
How do I fix CVE-2019-6697?
No fix has been published for CVE-2019-6697 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2019-6697 being exploited?
There is no known exploitation of CVE-2019-6697 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-fwm7-53g9-cmxr.