Find us at BrightonSEO 25/26 April - STAND 18! Fill your swag bag!

Dealing with Front-end issues?

Crawl your website with Sitebulb for 300+ tech SEO checks

Try for Free

This Hint has been deprecated, and we no longer consider it best practice. In order to get the most accurate audit results from Sitebulb, please ensure you update to the latest version.

High This Hint is very important, and definitely warrants attention. Issue This Hint represents an error or problem that needs to be fixed.

Contains an attribute with an unsafe character

This means that the URL in question contains DOM elements which use an unsafe character, such as &, ", > or <.

Why is this important?

Characters can be unsafe for a number of reasons. The characters "<" and ">" are unsafe because they are used as the delimiters around URLs in free text; the quote mark (""") is used to delimit URLs in some systems. Other characters are unsafe because gateways and other transport agents are known to sometimes modify such characters. These characters are "{", "}", "|", "\", "^", "~","[", "]", and "`".

Such characters are considered unsafe because they make the page vulnerable to a cross-site-scripting attack (or accidentally breaking the page with innocent input).

What does the Hint check?

This Hint will trigger for any internal HTML URL that contains DOM elements which use unsafe characters in an attribute.

Examples that trigger this Hint:

The Hint would trigger for URLs that contain any unsafe character, for example:

<img src="jon&snow.jpg" alt="King in the North">

How do you resolve this issue?

If the page contains unsafe characters, replace the characters with permissible ones. To understand where the issues lie, you will need to investigate further using a HTML validation service. Within Sitebulb, you can jump straight to the corresponding W3 Validation page through the URL List.

To debug in the browser, install a HTML validation Chrome extension and run validation across the page.

HTML validation

Further Reading

Sitebulb Desktop

Find, fix and communicate technical issues with easy visuals, in-depth insights, & prioritized recommendations across 300+ SEO issues.

  • Ideal for SEO professionals, consultants & marketing agencies.

Sitebulb Cloud

Get all the capability of Sitebulb Desktop, accessible via your web browser. Crawl at scale without project, crawl credit, or machine limits.

  • Perfect for collaboration, remote teams & extreme scale.