Problems with posting certain HTML elements via Google Chrome: ERR_BLOCKED_BY_XSS_AUDITOR

4 posts / 0 new
Last post
#1 Tue, 2017-04-04 12:07
Offline
Joined: 2 years 3 months ago

Problems with posting certain HTML elements via Google Chrome: ERR_BLOCKED_BY_XSS_AUDITOR


I wrote a blog post about a bug in Google Chrome where it blocks the posting of certain content with an ERR_BLOCKED_BY_XSS_AUDITOR error. This forum thread is a place where people can test posting content in Chrome to see what kinds of content get blocked.

I will follow this post with a test post.

Tue, 2017-04-04 12:11
Offline
Joined: 2 years 3 months ago

This is a test post.

Here is a code snippet as an example. Imagine that I'm writing a tutorial about script tags and SRI, so I want to paste a code snippet that other users can copy and paste into their own sites.

Here is the snippet:

  1. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>

Then I want to embed some YouTube videos (which use iframes):

Tue, 2017-04-04 12:14
Offline
Joined: 2 years 3 months ago

That post didn't get blocked in Chrome, but similar content has been blocked. If it happens again, I will paste the form contents that trigger the error here.

Tue, 2017-04-04 12:19
Offline
Joined: 1 year 9 months ago

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>