CVE-2024-26006 Cross-site scripting in FortiOS
Remote unauthenticated attackers can execute Cross-Site Scripting in the SSL VPN UI via a malicious samba server, affecting FortiOS and FortiProxy users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-26006?
CVE-2024-26006 is a medium-severity cross-site scripting vulnerability in Fortinet Fortios, published on 14 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An improper neutralization of input during web page Generation vulnerability [CWE-79] in FortiOS version 7.4.3 and below, version 7.2.7 and below, version 7.0.13 and below and FortiProxy version 7.4.3 and below, version 7.2.9 and below, version 7.0.16 and below web SSL VPN UI may allow a remote unauthenticated attacker to perform a Cross-Site Scripting attack via a malicious samba server.
Weakness: CWE-79
Which versions are affected by CVE-2024-26006?
It affects 2 products.
Products include Fortinet Fortios, Fortinet Fortiproxy.
How do I fix CVE-2024-26006?
No fix has been published for CVE-2024-26006 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-2024-26006 being exploited?
There is no known exploitation of CVE-2024-26006 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortios
Sources
Also known as GHSA-4678-x95m-c2hf.