Technical Tip: Error 'The string contains XSS vulnerability characters' While Configuring On-Demand Sniffer with Advanced Filters
| Description | This article describes an issue where an administrator may encounter the error 'The string contains XSS vulnerability characters' while configuring the on-demand sniffer on FortiGate with advanced filters that include parentheses. |
| Scope | FortiGate v7.4, v7.6. |
| Solution | When configuring the on-demand Sniffer with advanced filters that include parentheses, the following error may occur: CLI:
value parse error before 'host 10.5.25.11 and '
These timelines for firmware release are estimates and may be subject to change. Workaround:
Or:
diagnose sniffer packet any 'host 10.5.25.11 and (host 2.2.2.2 or host 3.3.3.3)' 6 0 l <----- Includes payload.
Use 'host 10.5.25.11 and host 2.2.2.2 or host 3.3.3.3' instead, for example. |


