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


  • Reduce the risk of downloading dangerous hidden content.


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



By Opquast - Read the license

Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 14,500 web professionals to have their skills certified. Train your teams or your students, contact us