Fix: Chrome Error Message ERR_BLOCKED_BY_XSS_AUDITOR (Solved)



RECOMMENDED: Click here to fix Windows errors and optimize system performance

The Chrome browser has an XSS security audit function that analyzes the HTML submitted via the form values and blocks these requests from XSS so that forms are never submitted and any XSS exploit is avoided. The problem is that since version 57 of Chrome, it has started blocking POST submissions with some HTML structures. A Chrome error message with the name ERR_BLOCKED_BY_XSS_AUDITOR is displayed and the form is not sent at all.

How to Fix Error Message ERR_BLOCKED_BY_XSS_AUDITOR

Add Some Page Headers

If you are a website administrator and this error message occurs during normal use, you can try to delete it by adding some page headers to the POST headers. This is a temporary solution until you can find an appropriate alternative that correctly handles the XSS auditor’s request.

  • Add the following header to your PHP file: header(‘X-XSS-Protection:0’) ;
  • To temporarily disable XSS protection, use HttpContext.Response.AddHeader(“X-XSS-Protection”,”0″);
  • Configure the Web file Config,
    <system.webServer>
    <httpProtocol>
    <customHeaders>
    <add name=”X-XSS-Protection” value=”0″ />
    </customHeaders>
  • Add request validation, var code = Request.Unvalidated.Form[“code”];
  • To turn-off web.config, <httpRuntime requestValidationMode=”2.0″/>


Fix Update August 2019:

We recommend you try using this new tool. It fixes a wide range of computer errors, as well as protecting against things like file loss, malware, hardware failures and optimizes your PC for maximum performance. It fixed our PC quicker than doing it manually:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download
(optional offer for Advanced System Repair Pro -> Website | EULA | Privacy Policy | Uninstall)



Perform troubleshoot

  • Does the problem persist in incognito mode?
    • If it helps, temporarily disable your extensions to determine what is causing the rendering problem. To do this, go to chrome://extensions and disable Enabled for each extension individually.
  • It may be useful to clear the cache and cookies.
  • Disable any firewall software you have installed / try to use another Internet network provider.
  • Try resetting the Chrome browser to see if it helps you.

Disable Chrome XSS Auditor

  1. Right-click a Google Chrome shortcut on your desktop.
  2. Click on Properties in the drop-down menu bar.
  3. Add this at the end of the target path of the line: -disable-xss-auditor.

Example: Target: “C:\Program files\Google\Chrome\Application\chrome.exe” -disable-xss-auditor

Note: If you do not have a Google Chrome shortcut on your desktop, go to the Google Chrome folder on your computer and right-click the Google Chrome exe or shortcut and choose Send to > Desktop (Create shortcut).

https://stackoverflow.com/questions/43249998/chrome-err-blocked-by-xss-auditor-details



RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance