Picto thématique

Rule n° 205 - The server sends activation information for protection against cross-site scripting.

Cross-site scripting is an attack that consists of injecting and executing malicious content on a page. Some browsers have built-in filtering mechanisms to protect against certain types of these attacks, mechanisms that can unfortunately be disabled. In order to prevent your site from putting users at risk, it is therefore advisable to force the presence of the protection header and to play it safe for the visitor by blocking all the content of the page.

#Security #Development

Goal

  • Reduce the risk of downloading dangerous hidden content.

Implementation

Configure the server to send the X-XSS-Protection HTTP header with the value 1

Control

mode=block.

By Opquast - Read the license