Fix: Chrome Error Message ERR_BLOCKED_BY_XSS_AUDITOR (Solved)



Updated July 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

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″/>

July 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • 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 Now

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



Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Scroll to Top