From aedcfad1c0b8a81603ee4a08c867ce28f58144d6 Mon Sep 17 00:00:00 2001 From: Tom <20648924+moT01@users.noreply.github.com> Date: Mon, 11 Feb 2019 14:24:55 -0600 Subject: [PATCH] Fill in stub for infosec "helmet.xssFilter()" (#34109) --- .../index.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/guide/english/certifications/information-security-and-quality-assurance/information-security-with-helmetjs/mitigate-the-risk-of-cross-site-scripting-xss-attacks-with-helmet.xssfilter/index.md b/guide/english/certifications/information-security-and-quality-assurance/information-security-with-helmetjs/mitigate-the-risk-of-cross-site-scripting-xss-attacks-with-helmet.xssfilter/index.md index 8d5cfe1e05..1d8881e03b 100644 --- a/guide/english/certifications/information-security-and-quality-assurance/information-security-with-helmetjs/mitigate-the-risk-of-cross-site-scripting-xss-attacks-with-helmet.xssfilter/index.md +++ b/guide/english/certifications/information-security-and-quality-assurance/information-security-with-helmetjs/mitigate-the-risk-of-cross-site-scripting-xss-attacks-with-helmet.xssfilter/index.md @@ -3,8 +3,12 @@ title: Mitigate the Risk of Cross Site Scripting (XSS) Attacks with helmet.xssFi --- ## Mitigate the Risk of Cross Site Scripting (XSS) Attacks with helmet.xssFilter() -This is a stub. Help our community expand it. +### Hint -This quick style guide will help ensure your pull request gets accepted. +- You want to use helmet's `xssFilter()` method on each request. - +### Solution + +- In the `myApp.js` file, add `app.use(helmet.xssFilter({}));` under the fourth instruction. + +**Note:** Be sure to submit the link to the **live demo** of your project.