{"id":21494,"date":"2022-09-30T03:24:33","date_gmt":"2022-09-30T03:24:33","guid":{"rendered":"https:\/\/nsfocusglobal.com\/?p=21494"},"modified":"2026-04-17T18:07:43","modified_gmt":"2026-04-17T18:07:43","slug":"xss-attack-protection","status":"publish","type":"post","link":"https:\/\/nsfocusglobal.com\/pt-br\/xss-attack-protection\/","title":{"rendered":"XSS Attack Protection"},"content":{"rendered":"<!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body><p>Cross-Site Scripting (XSS) attacks are a type of injection in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.<\/p>\n\n\n\n<p>An attacker can use XSS to send a malicious script to an unsuspecting user. The end user&acirc;&euro;&trade;s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by the browser and used with that site. These scripts can even rewrite the content of the HTML page.<\/p>\n\n\n\n<p>Main types of XSS:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Reflected XSS<\/li><li>Stored XSS<\/li><li>DOM Based XSS<\/li><\/ul>\n\n\n\n<p>XSS demonstration by DVWA XSS reflected.<br>Insert malicious code into the input box, as shown below: <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1.png\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-21498\" width=\"688\" height=\"554\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826.png 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-300x242.png 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-768x619.png 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-600x484.png 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-200x161.png 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1.png 1053w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a><\/figure>\n\n\n\n<p>Use Burp to capture the request and response messages. Malicious code is embedded in the HTML source code of the response message.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/7.png\"><img decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/7-1024x547.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-21523\" width=\"700\" height=\"373\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/7-1024x547.png 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/7-300x160.png 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/7-1536x821.png 1536w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/7-600x321.png 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/7-200x107.png 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/7.png 1811w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/a><\/figure>\n\n\n\n<p>View the rendering result of the browser. The browser executes the malicious code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/3-1.png\"><img decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/3-1-1024x527.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-21502\" width=\"670\" height=\"345\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/3-1-1024x527.png 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/3-1-300x154.png 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/3-1-768x395.png 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/3-1-1536x790.png 1536w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/3-1-600x309.png 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/3-1-200x103.png 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/3-1.png 1808w\" sizes=\"(max-width: 670px) 100vw, 670px\" \/><\/a><\/figure>\n\n\n\n<p>NSFOCUS WAF can analyze malicious scripts in the request packets and defend against malicious XSS attacks.<\/p>\n\n\n\n<p><strong>Configuration Steps:<\/strong><\/p>\n\n\n\n<p>Choose <strong>Security Management<\/strong> &gt;<strong> Policy Management <\/strong>&gt;<strong> Common Web Protection <\/strong>&gt; Click <strong>Create<\/strong> in the upper right corner &gt; Fill in or select <strong>Basic Information<\/strong> as required &gt; Enable <strong>Cross-Site Scripting Protection<\/strong> on the Rule List &gt; Select XSS algorithms as required.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/4-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/4-2-1024x480.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-21504\" width=\"695\" height=\"325\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/4-2-1024x480.png 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/4-2-300x141.png 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/4-2-768x360.png 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/4-2-1536x720.png 1536w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/4-2-600x281.png 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/4-2-200x94.png 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/4-2.png 1920w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><\/figure>\n\n\n\n<p>Enable the XSS protection for protected website:<\/p>\n\n\n\n<p>Choose <strong>Security Management<\/strong> &gt; <strong>Website Protection<\/strong> &gt; <strong>Website Group<\/strong> &gt; <strong>Web Security Protection<\/strong> &gt; <strong>Common Web Protection<\/strong> &gt; Choose the <strong>Policy<\/strong> created on last step &gt; Click <strong>OK <\/strong>on the bottom.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/5-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/5-3-1024x481.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-21506\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/5-3-1024x481.png 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/5-3-300x141.png 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/5-3-768x360.png 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/5-3-1536x721.png 1536w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/5-3-600x282.png 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/5-3-200x94.png 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/5-3.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Check NSFOCUS WAF protection logs against DVWA XSS attacks:<\/p>\n\n\n\n<p>Choose <strong>Logs &amp; Reports <\/strong>&gt;<strong> Security Protection Logs <\/strong>&gt;<strong> Web Security Logs<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/6-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"358\" src=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/6-1-1024x358.png\" alt=\"Red circular no entry sign with a white horizontal bar.\" class=\"wp-image-21508\" srcset=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/6-1-1024x358.png 1024w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/6-1-300x105.png 300w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/6-1-768x268.png 768w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/6-1-1536x537.png 1536w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/6-1-600x210.png 600w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/6-1-200x70.png 200w, https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/6-1.png 1808w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/body><\/html>\n","protected":false},"excerpt":{"rendered":"<p>Cross-Site Scripting (XSS) attacks are a type of injection in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35740,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[21],"tags":[741],"class_list":["post-21494","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-waf","tag-web-security"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>XSS Attack Protection - NSFOCUS<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"XSS Attack Protection - NSFOCUS\" \/>\n<meta property=\"og:description\" content=\"Cross-Site Scripting (XSS) attacks are a type of injection in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks\" \/>\n<meta property=\"og:url\" content=\"https:\/\/nsfocusglobal.com\/xss-attack-protection\/\" \/>\n<meta property=\"og:site_name\" content=\"NSFOCUS\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-30T03:24:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-17T18:07:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826-1.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"XSS Attack Protection - NSFOCUS\" \/>\n<meta name=\"twitter:description\" content=\"Cross-Site Scripting (XSS) attacks are a type of injection in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826-1.png\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#\\\/schema\\\/person\\\/fd9ab61c9c77a81bbd870f725cc0c61d\"},\"headline\":\"XSS Attack Protection\",\"datePublished\":\"2022-09-30T03:24:33+00:00\",\"dateModified\":\"2026-04-17T18:07:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/\"},\"wordCount\":346,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/demo-1-1024x826-1.png\",\"keywords\":[\"Web Security\"],\"articleSection\":[\"WAF\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/\",\"name\":\"XSS Attack Protection - NSFOCUS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/demo-1-1024x826-1.png\",\"datePublished\":\"2022-09-30T03:24:33+00:00\",\"dateModified\":\"2026-04-17T18:07:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/#primaryimage\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/demo-1-1024x826-1.png\",\"contentUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2022\\\/09\\\/demo-1-1024x826-1.png\",\"width\":1024,\"height\":826,\"caption\":\"Web application showing XSS vulnerability demonstration.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/xss-attack-protection\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/nsfocusglobal.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"XSS Attack Protection\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#website\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/\",\"name\":\"NSFOCUS\",\"description\":\"Security Made Smart and Simple\",\"publisher\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#organization\",\"name\":\"NSFOCUS\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/logo-ns.png\",\"contentUrl\":\"https:\\\/\\\/nsfocusglobal.com\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/logo-ns.png\",\"width\":248,\"height\":36,\"caption\":\"NSFOCUS\"},\"image\":{\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/#\\\/schema\\\/person\\\/fd9ab61c9c77a81bbd870f725cc0c61d\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/nsfocusglobal.com\"],\"url\":\"https:\\\/\\\/nsfocusglobal.com\\\/pt-br\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"XSS Attack Protection - NSFOCUS","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"pt_BR","og_type":"article","og_title":"XSS Attack Protection - NSFOCUS","og_description":"Cross-Site Scripting (XSS) attacks are a type of injection in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks","og_url":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/","og_site_name":"NSFOCUS","article_published_time":"2022-09-30T03:24:33+00:00","article_modified_time":"2026-04-17T18:07:43+00:00","og_image":[{"url":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826-1.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_title":"XSS Attack Protection - NSFOCUS","twitter_description":"Cross-Site Scripting (XSS) attacks are a type of injection in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks","twitter_image":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826-1.png","twitter_misc":{"Escrito por":"admin","Est. tempo de leitura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/#article","isPartOf":{"@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/"},"author":{"name":"admin","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#\/schema\/person\/fd9ab61c9c77a81bbd870f725cc0c61d"},"headline":"XSS Attack Protection","datePublished":"2022-09-30T03:24:33+00:00","dateModified":"2026-04-17T18:07:43+00:00","mainEntityOfPage":{"@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/"},"wordCount":346,"commentCount":0,"publisher":{"@id":"https:\/\/nsfocusglobal.com\/pt-br\/#organization"},"image":{"@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/#primaryimage"},"thumbnailUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826-1.png","keywords":["Web Security"],"articleSection":["WAF"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/nsfocusglobal.com\/xss-attack-protection\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/","url":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/","name":"XSS Attack Protection - NSFOCUS","isPartOf":{"@id":"https:\/\/nsfocusglobal.com\/pt-br\/#website"},"primaryImageOfPage":{"@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/#primaryimage"},"image":{"@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/#primaryimage"},"thumbnailUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826-1.png","datePublished":"2022-09-30T03:24:33+00:00","dateModified":"2026-04-17T18:07:43+00:00","breadcrumb":{"@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/nsfocusglobal.com\/xss-attack-protection\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/#primaryimage","url":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826-1.png","contentUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2022\/09\/demo-1-1024x826-1.png","width":1024,"height":826,"caption":"Web application showing XSS vulnerability demonstration."},{"@type":"BreadcrumbList","@id":"https:\/\/nsfocusglobal.com\/xss-attack-protection\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/nsfocusglobal.com\/"},{"@type":"ListItem","position":2,"name":"XSS Attack Protection"}]},{"@type":"WebSite","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#website","url":"https:\/\/nsfocusglobal.com\/pt-br\/","name":"NSFOCUS","description":"Security Made Smart and Simple","publisher":{"@id":"https:\/\/nsfocusglobal.com\/pt-br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/nsfocusglobal.com\/pt-br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Organization","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#organization","name":"NSFOCUS","url":"https:\/\/nsfocusglobal.com\/pt-br\/","logo":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#\/schema\/logo\/image\/","url":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/08\/logo-ns.png","contentUrl":"https:\/\/nsfocusglobal.com\/wp-content\/uploads\/2024\/08\/logo-ns.png","width":248,"height":36,"caption":"NSFOCUS"},"image":{"@id":"https:\/\/nsfocusglobal.com\/pt-br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/nsfocusglobal.com\/pt-br\/#\/schema\/person\/fd9ab61c9c77a81bbd870f725cc0c61d","name":"admin","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d3dc987908fc59791d261b1006d84eb931d15287261476b9384e690ed0c568de?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/nsfocusglobal.com"],"url":"https:\/\/nsfocusglobal.com\/pt-br\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts\/21494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/comments?post=21494"}],"version-history":[{"count":0,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/posts\/21494\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/media\/35740"}],"wp:attachment":[{"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/media?parent=21494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/categories?post=21494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nsfocusglobal.com\/pt-br\/wp-json\/wp\/v2\/tags?post=21494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}