In Fortinet FortiOS 6.0.0 to 6.0.4, 5.6.0 to 5.6.7, 5.4.0 to 5.4.12, 5.2 and below versions on the SSL VPN web interface, a Cross-site Scripting (XSS) vulnerability allows an attacker to execute unauthorised malicious script code via the error or message processing parameters.