Hexret

Web Security · Client-side

innerHTML

A DOM property that parses assigned text as HTML. Untrusted values can introduce executable attributes and other unsafe markup. Use textContent for plain text, or a maintained sanitizer when HTML is necessary.

Where you practice it

Related terms