Every check / code-writes-html-unsafely
Does your site's code put unchecked content straight into the page?
We read the script files your site serves from its own domain for innerHTML set from a value rather than fixed text, insertAdjacentHTML and document.write.
How it decides
Framework runtimes and well-known libraries are left out. The check speaks up when it finds any, and counts them by file.
Run this check on any website
Free, with no account. It sends the site nothing an ordinary visitor would not.
Why it matters
If any of those values comes from the web address, a search box or something another user saved, whatever it contains becomes part of your page.
In more detail
That is how an attacker gets their own code running on your site, in front of your customer, with your address in the bar.
Who fixes it, and where it runs
- Who usually fixes it
- Whoever built your site
- Which plan runs it
- The free scan, on any website
- Proof you own the site
- Not needed. It sends your site nothing an ordinary visitor would not.
More about this check
- Who it is about
- An intruder
- Listed under
- Things that should not be public
- The standards
- Its name in a report
code-writes-html-unsafely